22 lines
626 B
Markdown
22 lines
626 B
Markdown
## Extended man pages for CLI commands
|
|
|
|
### Build
|
|
|
|
Update [version string](https://github.com/supabase/cli/blob/main/docs/main.go#L33) to match latest release.
|
|
|
|
```bash
|
|
go run docs/main.go > cli_v1_commands.yaml
|
|
```
|
|
|
|
### Release
|
|
|
|
1. Clone the [supabase/supabase](https://github.com/supabase/supabase) repo
|
|
2. Copy over the CLI reference and reformat using supabase config
|
|
|
|
```bash
|
|
mv ../cli/cli_v1_commands.yaml specs/
|
|
npx prettier -w specs/cli_v1_commands.yaml
|
|
```
|
|
|
|
3. If there are new commands added, update [common-cli-sections.json](https://github.com/supabase/supabase/blob/master/spec/common-cli-sections.json) manually
|