Skip to content

Commit a06d519

Browse files
Timna BrownTimna Brown
authored andcommitted
feat: show full devopster <command> in --help table, add variant rows
1 parent 20965d3 commit a06d519

1 file changed

Lines changed: 24 additions & 21 deletions

File tree

src/cli/mod.rs

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,30 @@ use clap::{Parser, Subcommand};
2121
Usage: devopster [OPTIONS] <COMMAND>
2222
2323
Commands:
24-
{tab}+------------------------+---------------------------------------------------+
25-
{tab}| login github | Sign in to GitHub via browser (gh CLI) |
26-
{tab}| login azure-devops | Sign in to Azure DevOps via browser (az CLI) |
27-
{tab}| login gitlab | Sign in to GitLab via browser (glab CLI) |
28-
{tab}| login all | Sign in to all three providers sequentially |
29-
{tab}| login status | Show authentication status for all providers |
30-
{tab}| login logout <provider>| Remove stored credentials for a provider |
31-
{tab}+------------------------+---------------------------------------------------+
32-
{tab}| init | Create devopster-config.yaml and sign in |
33-
{tab}+------------------------+---------------------------------------------------+
34-
{tab}| repo list | List repositories (optionally filter by topic) |
35-
{tab}| repo audit | Audit repos against the configured policy |
36-
{tab}| repo scaffold | Create a new repository from a template |
37-
{tab}| repo sync | Push files from .github/ to all repositories |
38-
{tab}+------------------------+---------------------------------------------------+
39-
{tab}| catalog generate | Export a catalog.json of all repositories |
40-
{tab}+------------------------+---------------------------------------------------+
41-
{tab}| topics align | Add missing template topics to repositories |
42-
{tab}+------------------------+---------------------------------------------------+
43-
{tab}| stats | Print org-wide metadata coverage and compliance |
44-
{tab}+------------------------+---------------------------------------------------+
24+
{tab}+-----------------------------------------------+---------------------------------------------------+
25+
{tab}| devopster login github | Sign in to GitHub via browser (gh CLI) |
26+
{tab}| devopster login azure-devops | Sign in to Azure DevOps via browser (az CLI) |
27+
{tab}| devopster login gitlab | Sign in to GitLab via browser (glab CLI) |
28+
{tab}| devopster login all | Sign in to all three providers sequentially |
29+
{tab}| devopster login status | Show authentication status for all providers |
30+
{tab}| devopster login logout <provider> | Remove stored credentials for a provider |
31+
{tab}+-----------------------------------------------+---------------------------------------------------+
32+
{tab}| devopster init | Create devopster-config.yaml and sign in |
33+
{tab}| devopster init --no-login | Create devopster-config.yaml, skip sign-in |
34+
{tab}+-----------------------------------------------+---------------------------------------------------+
35+
{tab}| devopster repo list | List repositories in the configured organization |
36+
{tab}| devopster repo list --topic <topic> | Filter repositories by topic |
37+
{tab}| devopster repo audit | Audit repos against the configured policy |
38+
{tab}| devopster repo scaffold --name <n> --template <t> | Create a new repository from a template |
39+
{tab}| devopster repo sync | Push files from .github/ to all repositories |
40+
{tab}+-----------------------------------------------+---------------------------------------------------+
41+
{tab}| devopster catalog generate | Export a catalog.json of all repositories |
42+
{tab}+-----------------------------------------------+---------------------------------------------------+
43+
{tab}| devopster topics align | Add missing template topics to repositories |
44+
{tab}+-----------------------------------------------+---------------------------------------------------+
45+
{tab}| devopster stats | Print org-wide metadata coverage and compliance |
46+
{tab}| devopster stats --scope-missing | Also write non-compliant repos to scoped_repos |
47+
{tab}+-----------------------------------------------+---------------------------------------------------+
4548
4649
Options:
4750
{options}

0 commit comments

Comments
 (0)