Skip to content

Commit cccd232

Browse files
committed
Update forge -> commando references
1 parent 5bc0e3d commit cccd232

File tree

13 files changed

+75
-74
lines changed

13 files changed

+75
-74
lines changed

.github/formula-template.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Homebrew formula for Forge
2-
# Install: brew tap jdillon/planet57 && brew install forge
1+
# Homebrew formula for Commando
2+
# Install: brew tap jdillon/planet57 && brew install commando
33

4-
class Forge < Formula
4+
class Commando < Formula
55
desc "Modern CLI framework for deployments"
6-
homepage "https://github.com/jdillon/forge"
7-
url "https://github.com/jdillon/forge/releases/download/v__VERSION__/planet57-forge-__VERSION__.tgz"
6+
homepage "https://github.com/jdillon/commando"
7+
url "https://github.com/jdillon/commando/releases/download/v__VERSION__/planet57-commando-__VERSION__.tgz"
88
sha256 "__SHA256__"
99
license "Apache-2.0"
1010
version "__VERSION__"
@@ -16,18 +16,18 @@ def install
1616
libexec.install Dir["*"]
1717

1818
# Symlink the wrapper script
19-
# First run will auto-bootstrap ~/.forge
20-
bin.install_symlink libexec/"bin/forge" => "forge"
19+
# First run will auto-bootstrap ~/.commando
20+
bin.install_symlink libexec/"bin/cmdo" => "cmdo"
2121
end
2222

2323
def caveats
24-
"First run will complete installation to ~/.forge\n\n" \
24+
"First run will complete installation to ~/.commando\n\n" \
2525
"User data (config, plugins, state) persists across upgrades.\n" \
26-
"To fully remove, also delete ~/.forge after uninstall.\n"
26+
"To fully remove, also delete ~/.commando after uninstall.\n"
2727
end
2828

2929
test do
3030
# Just verify the wrapper exists and is executable
31-
assert_predicate bin/"forge", :executable?
31+
assert_predicate bin/"cmdo", :executable?
3232
end
3333
end

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
id: checksum
4242
run: |
4343
VERSION="${{ steps.version.outputs.current }}"
44-
TARBALL="build/planet57-forge-${VERSION}.tgz"
44+
TARBALL="build/planet57-commando-${VERSION}.tgz"
4545
SHA256=$(shasum -a 256 "$TARBALL" | awk '{print $1}')
4646
echo "sha256=${SHA256}" >> $GITHUB_OUTPUT
4747
echo "tarball=${TARBALL}" >> $GITHUB_OUTPUT
@@ -62,9 +62,9 @@ jobs:
6262
mkdir -p tap/Formula
6363
6464
# Copy template and replace placeholders
65-
cp .github/formula-template.rb tap/Formula/forge.rb
66-
sed -i "s/__VERSION__/${VERSION}/g" tap/Formula/forge.rb
67-
sed -i "s/__SHA256__/${SHA256}/g" tap/Formula/forge.rb
65+
cp .github/formula-template.rb tap/Formula/commando.rb
66+
sed -i "s/__VERSION__/${VERSION}/g" tap/Formula/commando.rb
67+
sed -i "s/__SHA256__/${SHA256}/g" tap/Formula/commando.rb
6868
6969
# === All preparation done, now push everything ===
7070

@@ -96,8 +96,8 @@ jobs:
9696
cd tap
9797
git config user.name "github-actions[bot]"
9898
git config user.email "github-actions[bot]@users.noreply.github.com"
99-
git add Formula/forge.rb
100-
git commit -m "Update forge to ${VERSION}"
99+
git add Formula/commando.rb
100+
git commit -m "Update commando to ${VERSION}"
101101
git push
102102
103103
- name: Bump version and push

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ First public release. TypeScript/Bun rewrite of the original Bash-based Forge fr
1313

1414
### Features
1515

16-
- **Module system** - Auto-discovery of commands from `.forge/` directory
17-
- **Command grouping** - Commands grouped by filename (e.g., `website-build.ts``forge website build`)
16+
- **Module system** - Auto-discovery of commands from `.commando/` directory
17+
- **Command grouping** - Commands grouped by filename (e.g., `website-build.ts``cmdo website build`)
1818
- **Layered configuration** - User, project, and local config via cosmiconfig (YAML, JSON, JS, TS)
1919
- **Structured logging** - Pino-based with pretty and JSON output formats
2020
- **Styled CLI** - Commander.js with colored help, smart option handling
2121
- **Output helpers** - Tables, spinners, progress bars, prompts, boxes
22-
- **Installation** - `install.sh` script, meta-project pattern at `~/.forge/`
22+
- **Installation** - `install.sh` script, meta-project pattern at `~/.commando/`
2323

2424
### Technical
2525

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Use beads MCP tools for ALL issue tracking. Do NOT use TodoWrite or markdown TOD
5858

5959
**Do NOT close issues prematurely.** Wait for explicit user verification that the work is complete before closing. Build succeeding is not enough - the user must confirm the feature works as expected.
6060

61-
**Commit format**: Include `Resolves: forge-xxx` or `Related: forge-xxx` in commit messages.
61+
**Commit format**: Include `Resolves: commando-xxx` or `Related: commando-xxx` in commit messages.
6262
See `bd onboard` for more information.
6363

6464
## Code Conventions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ brew install jdillon/planet57/commando
1616
### Script
1717

1818
```bash
19-
curl -fsSL https://raw.githubusercontent.com/jdillon/forge/main/bin/install.sh | bash
19+
curl -fsSL https://raw.githubusercontent.com/jdillon/commando/main/bin/install.sh | bash
2020
```
2121

2222
Or with auto-confirm:
2323

2424
```bash
25-
curl -fsSL https://raw.githubusercontent.com/jdillon/forge/main/bin/install.sh | bash -s -- -y
25+
curl -fsSL https://raw.githubusercontent.com/jdillon/commando/main/bin/install.sh | bash -s -- -y
2626
```
2727

2828
**Prerequisites**: [Bun](https://bun.sh) and Git

docs/reference/xdg-paths.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ cp -r ~/.commando/ /backup/data/
322322
### Old Paths (v1 - Bash)
323323

324324
```bash
325-
~/.forge/ # Would have been used
326-
project/.forge/ # Project config
325+
~/.commando/ # Was planned for v1
326+
project/.commando/ # Project config
327327
```
328328

329329
### New Paths (v2 - Bun)

examples/standard-git/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Standard Library Example (Git URL)
22

3-
This example demonstrates using the `@planet57/forge-standard` package loaded from a **git repository** to load reusable command modules.
3+
This example demonstrates using the `@planet57/commando-standard` package loaded from a **git repository** to load reusable command modules.
44

55
## What This Shows
66

77
- Loading modules from **git repositories** using `git+ssh://` protocol
88
- SSH authentication for private repositories
9-
- Package submodule syntax: `@planet57/forge-standard/hello`
9+
- Package submodule syntax: `@planet57/commando-standard/hello`
1010
- Group name derived from submodule: `hello`
1111
- Auto-install from git on first use
1212

@@ -29,7 +29,7 @@ cd examples/standard-git
2929
# Use local dev CLI (./cmdo symlink ensures correct version)
3030
./cmdo --help
3131

32-
# Use commands from forge-standard
32+
# Use commands from commando-standard
3333
./cmdo hello greet World
3434
./cmdo hello greet Jason
3535
./cmdo hello info
@@ -44,7 +44,7 @@ cd examples/standard-git
4444
```bash
4545
$ ./cmdo --help
4646
Installing dependencies...
47-
+ @planet57/forge-standard@git+ssh://git@github.com/jdillon/forge-standard.git
47+
+ @planet57/commando-standard@git+ssh://git@github.com/jdillon/commando-standard.git
4848
Restarting to pick up dependency changes...
4949

5050
Usage: cmdo [options] [command]
@@ -59,20 +59,20 @@ Commands:
5959
```bash
6060
$ ./cmdo hello greet Jason
6161
Hello, Jason!
62-
Loaded from forge-standard package
62+
Loaded from commando-standard package
6363

6464
$ ./cmdo hello info
65-
Module: @planet57/forge-standard/hello
65+
Module: @planet57/commando-standard/hello
6666
Version: 0.1.0
6767
Commands: greet, info
6868
```
6969

7070
## How It Works
7171

72-
1. **Config declares dependency**: `git+ssh://git@github.com/jdillon/forge-standard.git`
73-
2. **Auto-install**: On first run, Commando clones the git repo and installs to `~/.commando/node_modules/@planet57/forge-standard/`
72+
1. **Config declares dependency**: `git+ssh://git@github.com/jdillon/commando-standard.git`
73+
2. **Auto-install**: On first run, Commando clones the git repo and installs to `~/.commando/node_modules/@planet57/commando-standard/`
7474
3. **SSH authentication**: Uses your SSH keys (~/.ssh/id_rsa) automatically
75-
4. **Module loading**: `@planet57/forge-standard/hello` resolves to `hello.ts`
75+
4. **Module loading**: `@planet57/commando-standard/hello` resolves to `hello.ts`
7676
5. **Group name**: Last path segment `hello` becomes the command group
7777
6. **Commands registered**: `greet` and `info` commands under `hello` group
7878
7. **Restart mechanism**: Exit code 42 signals wrapper to restart after dependency install
@@ -84,27 +84,27 @@ See `.commando/config.yml`:
8484
```yaml
8585
dependencies:
8686
# Git URL with SSH authentication
87-
- git+ssh://git@github.com/jdillon/forge-standard.git
87+
- git+ssh://git@github.com/jdillon/commando-standard.git
8888

8989
modules:
90-
- "@planet57/forge-standard/hello"
90+
- "@planet57/commando-standard/hello"
9191
```
9292
9393
## Git URL Formats Supported
9494
9595
**SSH (recommended for private repos):**
9696
```yaml
9797
dependencies:
98-
- git+ssh://git@github.com/jdillon/forge-standard.git
99-
- git+ssh://git@github.com/jdillon/forge-standard.git#main # Specific branch
100-
- git+ssh://git@github.com/jdillon/forge-standard.git#v1.0.0 # Specific tag
98+
- git+ssh://git@github.com/jdillon/commando-standard.git
99+
- git+ssh://git@github.com/jdillon/commando-standard.git#main # Specific branch
100+
- git+ssh://git@github.com/jdillon/commando-standard.git#v1.0.0 # Specific tag
101101
```
102102
103103
**HTTPS (public repos):**
104104
```yaml
105105
dependencies:
106-
- git+https://github.com/jdillon/forge-standard.git
107-
- github:jdillon/forge-standard # GitHub shorthand (HTTPS only)
106+
- git+https://github.com/jdillon/commando-standard.git
107+
- github:jdillon/commando-standard # GitHub shorthand (HTTPS only)
108108
```
109109
110110
## Related Examples
@@ -114,8 +114,8 @@ dependencies:
114114

115115
## Related Files
116116

117-
- **forge-standard repo**: https://github.com/jdillon/forge-standard
118-
- **Installed location**: `~/.commando/node_modules/@planet57/forge-standard/`
117+
- **commando-standard repo**: https://github.com/jdillon/commando-standard
118+
- **Installed location**: `~/.commando/node_modules/@planet57/commando-standard/`
119119
- **Module resolver**: `lib/module-resolver.ts`
120120
- **Package manager**: `lib/package-manager.ts`
121121
- **Phase 2 & 3 docs**: `docs/wip/module-system/`
@@ -125,13 +125,13 @@ dependencies:
125125
**Error: "Failed to install git+ssh://..."**
126126
- Check SSH keys: `ssh -T git@github.com`
127127
- Ensure key is added to GitHub: https://github.com/settings/keys
128-
- Try manual install: `cd ~/.commando && bun add git+ssh://git@github.com/jdillon/forge-standard.git`
128+
- Try manual install: `cd ~/.commando && bun add git+ssh://git@github.com/jdillon/commando-standard.git`
129129

130130
**Error: "Permission denied (publickey)"**
131131
- SSH key not configured or not added to ssh-agent
132132
- Run: `ssh-add ~/.ssh/id_rsa`
133133

134134
**Module not loading after install:**
135135
- Check commando home: `ls ~/.commando/node_modules/@planet57/`
136-
- Verify package.json has correct name: `cat ~/.commando/node_modules/@planet57/forge-standard/package.json`
136+
- Verify package.json has correct name: `cat ~/.commando/node_modules/@planet57/commando-standard/package.json`
137137
- Try clean reinstall: Remove from commando home and run `./cmdo --help` again

examples/standard/README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# Standard Library Example
22

3-
This example demonstrates using the `@jdillon/forge-standard` package to load reusable command modules.
3+
This example demonstrates using the `@planet57/commando-standard` package to load reusable command modules.
44

55
## What This Shows
66

77
- Loading modules from packages installed to commando home
88
- Using `file:` protocol for local development
9-
- Package submodule syntax: `@jdillon/forge-standard/hello`
9+
- Package submodule syntax: `@planet57/commando-standard/hello`
1010
- Group name derived from submodule: `hello`
1111

1212
## Setup
1313

14-
### 1. Install forge-standard to commando home
14+
### 1. Install commando-standard to commando home
1515

1616
```bash
1717
cd ~/.commando
18-
bun add file:../../../forge-standard
18+
bun add file:../../../commando-standard
1919
```
2020

21-
This creates symlinks, so changes to forge-standard are immediately reflected.
21+
This creates symlinks, so changes to commando-standard are immediately reflected.
2222

2323
### 2. Run commands
2424

@@ -28,7 +28,7 @@ cd examples/standard
2828
# Use local dev CLI (./cmdo symlink ensures correct version)
2929
./cmdo --help
3030

31-
# Use commands from forge-standard
31+
# Use commands from commando-standard
3232
./cmdo hello greet World
3333
./cmdo hello greet Jason
3434
./cmdo hello info
@@ -41,19 +41,19 @@ cd examples/standard
4141
```bash
4242
$ ./cmdo hello greet Jason
4343
Hello, Jason!
44-
Loaded from forge-standard package
44+
Loaded from commando-standard package
4545

4646
$ ./cmdo hello info
47-
Module: @jdillon/forge-standard/hello
47+
Module: @planet57/commando-standard/hello
4848
Version: 0.1.0
4949
Commands: greet, info
5050
```
5151

5252
## How It Works
5353

54-
1. **Config declares dependency**: `file:../../../forge-standard` (relative path)
55-
2. **Auto-install**: Commando installs to `~/.commando/node_modules/@jdillon/forge-standard/`
56-
3. **Module loading**: `@jdillon/forge-standard/hello` resolves to `hello.ts`
54+
1. **Config declares dependency**: `file:../../../commando-standard` (relative path)
55+
2. **Auto-install**: Commando installs to `~/.commando/node_modules/@planet57/commando-standard/`
56+
3. **Module loading**: `@planet57/commando-standard/hello` resolves to `hello.ts`
5757
4. **Group name**: Last path segment `hello` becomes the command group
5858
5. **Commands registered**: `greet` and `info` commands under `hello` group
5959

@@ -63,29 +63,29 @@ See `.commando/config.yml`:
6363

6464
```yaml
6565
dependencies:
66-
- file:../../../forge-standard # Relative path for portability
66+
- file:../../../commando-standard # Relative path for portability
6767

6868
modules:
69-
- "@jdillon/forge-standard/hello"
69+
- "@planet57/commando-standard/hello"
7070
```
7171
7272
## Production vs Development
7373
7474
**Development** (current):
7575
```yaml
7676
dependencies:
77-
- file:~/ws/forge-standard # Local symlink
77+
- file:~/ws/commando-standard # Local symlink
7878
```
7979
8080
**Production** (future):
8181
```yaml
8282
dependencies:
83-
- git+ssh://git@github.com/jdillon/forge-standard.git # Git repo
83+
- git+ssh://git@github.com/jdillon/commando-standard.git # Git repo
8484
```
8585
8686
## Related
8787
88-
- **forge-standard source**: `~/ws/forge-standard/`
89-
- **Installed location**: `~/.commando/node_modules/@jdillon/forge-standard/`
88+
- **commando-standard source**: `~/ws/commando-standard/`
89+
- **Installed location**: `~/.commando/node_modules/@planet57/commando-standard/`
9090
- **Module resolver**: `lib/module-resolver.ts`
9191
- **Phase 3 docs**: `docs/wip/module-system/phase3-implementation-proposal.md`

license-checker.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"prepend": " * "
4646
}
4747
},
48-
"sh|^forge|^forge-dev": {
48+
"sh|^cmdo|^cmdo-dev": {
4949
"eachLine": {
5050
"prepend": "# "
5151
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"repository": {
1616
"type": "git",
17-
"url": "https://github.com/jdillon/forge.git"
17+
"url": "https://github.com/jdillon/commando.git"
1818
},
1919
"files": [
2020
"lib/**/*.ts",

0 commit comments

Comments
 (0)