@@ -18,11 +18,7 @@ Create a `.env` file in the project root with your PostgreSQL connection details
1818Start an interactive session with natural language support:
1919
2020``` bash
21- scmd.exe --interactive
22- # or
23- scmd.exe -i
24- # or
25- scmd.exe --cli
21+ scmd-windows-amd64.exe --cli
2622```
2723
2824** Features:**
@@ -32,50 +28,50 @@ scmd.exe --cli
3228- User-friendly prompts and formatted output
3329
3430### Example of the extended functions menu
35- ![ SCMD v2.0.0 Interactive CLI] ( images/smcd-2.0.0-show.png )
31+ ![ CLI v2.0.0 Interactive CLI] ( images/smcd-2.0.0-show.png )
32+ ---
33+ ![ WEB v2.0.1 Interactive CLI] ( images/smcd-2.0.1-web.png )
3634
3735See [ INTERACTIVE_MODE.md] ( INTERACTIVE_MODE.md ) for detailed documentation.
3836
3937### 2. Traditional CLI
4038
4139** Search for commands:**
4240``` bash
43- scmd.exe --search " postgresql replication"
44- scmd.exe --search " docker,kubernetes"
41+ scmd-windows-amd64 .exe --search " postgresql replication"
42+ scmd-windows-amd64 .exe --search " docker,kubernetes"
4543```
4644
4745** Add new commands:**
4846``` bash
49- scmd.exe --save " docker ps -a" " List all containers"
47+ scmd-windows-amd64 .exe --save " docker ps -a" " List all containers"
5048```
5149
5250### 3. Web Interface
5351
5452** Start web server:**
5553``` bash
56- scmd.exe --web # Default port 3333
57- scmd.exe --web -port 8080 # Custom port
58- scmd.exe --web -block # Read-only mode
59- scmd.exe --web -service # Background mode (no browser)
54+ scmd-windows-amd64 .exe --web # Default port 3333
55+ scmd-windows-amd64 .exe --web -port 8080 # Custom port
56+ scmd-windows-amd64 .exe --web -block # Read-only mode
57+ scmd-windows-amd64 .exe --web -service # Background mode (no browser)
6058```
6159
62- ## Release History
60+ ## Installation
61+
62+ ### Download Pre-built Binaries
63+
64+ Download the latest release for your platform from the [ GitHub Releases] ( https://github.com/gcclinux/scmd/releases ) page:
65+
66+ - ** Windows (AMD64):** ` scmd-windows-amd64.exe `
67+ - ** Linux (AMD64):** ` scmd-linux-amd64 `
68+ - ** Linux (ARM64):** ` scmd-linux-aarch64 `
69+ - ** macOS (Intel):** ` scmd-darwin-amd64 `
70+ - ** macOS (Apple Silicon):** ` scmd-darwin-arm64 `
71+
72+ All binaries are ready to use - no compilation required!
6373
64- Release: 1.0.0 - (18-02-2023) Initial SCMD CLI & Web UI<BR >
65- Release: 1.0.1 - (19-02-2023) Recompiled with updated tardigrade-mod v0.2.0<BR >
66- Release: 1.0.2 - (26-02-2023) Minor cosmetic changes in the search UI<BR >
67- Release: 1.1.0 - (05-03-2023) Added binary upgrade option in the menu!<BR >
68- Release: 1.2.0 - (12-03-2023) Added option to specific what port to open the Web UI<BR >
69- Release: 1.3.0 - (19-03-2023) Added option to save or display functions also<BR >
70- Release: 1.3.1 - (26-03-2023) Check if command already exist + cosmetics<BR >
71- Release: 1.3.2 - (01-04-2023) Created the Help page and added search login.<BR >
72- Release: 1.3.3 - (05-04-2023) Minor cosmetics on help page (before annual leave).<BR >
73- Release: 1.3.5 - (29-08-2023) Added TLS capabilities for HTTPS.<BR >
74- Release: 1.3.6 - (09-09-2023) Added -block "DISABLES" add commands page.<BR >
75- Release: 1.3.7 - (16-12-2023) Started a command game page.<BR >
76- Release: 1.3.8 - (20-03-2024) Pauzed game but added favicon.<BR >
77- Release: 2.0.0 - (2026) ** Migrated to PostgreSQL database** <BR >
78- Release: 2.0.1 - (14-04-2026) ** Several features added to interractive cli** <br >
74+ ### Build from Source
7975
8076> Display this help menu
8177```
@@ -154,21 +150,47 @@ Usage: scmd-Linux-x86_64(exe) --search "patterns"
154150Usage: scmd-Linux-x86_64(exe) --save "command" "description"
155151```
156152
157- Build and compile scmd from source code will require
158- > go get github.com/lib/pq
159- > go get github.com/joho/godotenv
153+ ### Build from Source
160154
155+ Build and compile scmd from source code will require:
156+ - Go 1.23 or higher
157+ - Git
158+ - PostgreSQL database
161159
162- \* Download and Install - https://go.dev/dl/ <BR >
163- \* Download and Install - https://git-scm.com/downloads
164- \* Setup PostgreSQL database and import data from tardigrade.db
160+ Dependencies:
161+ ``` bash
162+ go get github.com/lib/pq
163+ go get github.com/joho/godotenv
164+ ```
165165
166+ Build steps:
167+ Build steps:
168+
169+ ``` bash
170+ git clone https://github.com/gcclinux/scmd.git
171+ cd scmd/
172+ cp .env.example .env
173+ # Edit .env with your PostgreSQL credentials
174+ go mod tidy
175+ go build -o scmd-$( uname) -$( uname -m) .
176+ scmd-$( uname) -$( uname -m) --help
166177```
167- $ git clone https://github.com/gcclinux/scmd.git
168- $ cd scmd/
169- $ cp .env.example .env
170- $ # Edit .env with your PostgreSQL credentials
171- $ go mod tidy
172- $ go build -o scmd-$(uname)-$(uname -m) .
173- $ scmd-$(uname)-$(uname -m) --help
178+
179+ Or use the build script:
180+
181+ ** Windows:**
182+ ``` powershell
183+ .\build.ps1 all # Build for all platforms
184+ .\build.ps1 windows # Build for Windows only
185+ .\build.ps1 linux # Build for Linux only
186+ .\build.ps1 darwin # Build for macOS only
187+ ```
188+
189+ ** Linux/macOS:**
190+ ``` bash
191+ ./compile.sh # Build for current platform
174192```
193+
194+ ## Release History
195+
196+ See [ CHANGELOG.md] ( CHANGELOG.md ) for detailed release history.
0 commit comments