docs: update README with current CLI commands

- Replace myst init with myst config init
- Replace myst forgejo bootstrap with myst verify
- Replace myst doctor with myst verify --diagnostic
- Replace myst config print with myst config view
This commit is contained in:
ZTatman 2026-04-12 18:19:55 -04:00
parent 099d521288
commit a7f30a0d3a
2 changed files with 12 additions and 11 deletions

View file

@ -46,10 +46,10 @@ HTMX provides interactivity (filtering, form submissions) with minimal JavaScrip
## Quick Start ## Quick Start
### 1. Run `myst init` ### 1. Run `myst config init`
```bash ```bash
myst init myst config init
``` ```
Prompts for: Prompts for:
@ -92,12 +92,12 @@ GRANT_TOKEN_SECRET="your-secret-here"
## Phase 1 Progress ## Phase 1 Progress
- [x] Project renamed from Embargo to Myst - [x] Project renamed from Embargo to Myst
- [x] CLI scaffold (`myst init`) - [x] CLI scaffold (`myst config init`)
- [x] Config generation (`.env`) - [x] Config generation (`.env`)
- [ ] Service foundation (FastAPI + PostgreSQL) - [ ] Service foundation (FastAPI + PostgreSQL)
- [ ] `myst forgejo bootstrap` — verify Forgejo connectivity - [ ] `myst verify` — verify Forgejo connectivity
- [ ] `myst doctor` — validate configuration - [ ] `myst verify --diagnostic` — validate configuration
- [ ] `myst config print` — show current config - [ ] `myst config view` — show current config
- [ ] Forgejo session authentication - [ ] Forgejo session authentication
- [ ] Repo ownership verification - [ ] Repo ownership verification
- [ ] Private link creation (email-verified) - [ ] Private link creation (email-verified)

View file

@ -123,7 +123,8 @@ function showCommandHelp(
}); });
} }
const colWidth = Math.max(...optionRows.map((r) => r.name.length)) + PADDING; const colWidth =
Math.max(...optionRows.map((r) => r.name.length)) + PADDING;
lines.push(c.bold("Options:")); lines.push(c.bold("Options:"));
for (const row of optionRows) { for (const row of optionRows) {
@ -154,7 +155,7 @@ export async function runCli(
// Check for version flag (early exit) // Check for version flag (early exit)
if (argv.length > 0 && argv.every(isVersionFlag)) { if (argv.length > 0 && argv.every(isVersionFlag)) {
process.stdout.write(version); process.stdout.write(version + "\n");
return; return;
} }