Skip to content

Commit 938a1d7

Browse files
docs: split juno version in two commands (version and status) (#497)
* docs: split juno version in two commands (version and status) Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> * πŸ“„ Update LLMs.txt snapshot for PR review --------- Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ad8ee70 commit 938a1d7

4 files changed

Lines changed: 32 additions & 1 deletion

File tree

β€Ž.llms-snapshots/llms-full.txtβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7745,6 +7745,16 @@ Usage: juno open [options]Options: -b, --browser A particular browser t
77457745

77467746
---
77477747

7748+
### Status
7749+
7750+
Check the version of the modules and CLI.
7751+
7752+
```
7753+
Usage: juno init [options]Options: -c, --cli Check only the version of the CLI. -m, --mode Choose which environment to use (production, staging, development). Defaults to production if omitted. -p, --profile Specify an optional profile to use (e.g. personal, team). Useful when managing multiple Mission Controls. --container-url Override a custom container URL. If not provided, defaults to production or the local container in development mode. --console-url Specify a custom URL to access the developer Console. -h, --help Output usage information.
7754+
```
7755+
7756+
---
7757+
77487758
### Version
77497759

77507760
Check the version of the modules and CLI.

β€Ždocs/reference/cli.mdxβ€Ž

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,14 @@ import Open from "./cli/open.md";
280280

281281
---
282282

283+
### Status
284+
285+
import Status from "./cli/status.md";
286+
287+
<Status />
288+
289+
---
290+
283291
### Version
284292

285293
import Version from "./cli/version.md";

β€Ždocs/reference/cli/status.mdβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Check the version of the modules and CLI.
2+
3+
```
4+
Usage: juno init [options]
5+
6+
Options:
7+
-c, --cli Check only the version of the CLI.
8+
-m, --mode Choose which environment to use (production, staging, development). Defaults to production if omitted.
9+
-p, --profile Specify an optional profile to use (e.g. personal, team). Useful when managing multiple Mission Controls.
10+
--container-url Override a custom container URL. If not provided, defaults to production or the local container in development mode.
11+
--console-url Specify a custom URL to access the developer Console.
12+
-h, --help Output usage information.
13+
```

β€Žscripts/cli-to-md.shβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function generate_command_markdown() {
77
eval "juno "$cmd" --headless --help --doc" | sed 's/\x1b\[[0-9;]*m//g' > docs/reference/cli/"$output".md
88
}
99

10-
COMMANDS=clear,config,deploy,dev,functions,changes,init,login,logout,open,snapshot,start,stop,upgrade,version,whoami
10+
COMMANDS=clear,config,deploy,dev,functions,changes,init,login,logout,open,snapshot,start,stop,upgrade,version,status,whoami
1111

1212
for cmd in $(echo $COMMANDS | sed "s/,/ /g"); do
1313
generate_command_markdown "$cmd"

0 commit comments

Comments
Β (0)