Skip to content

Commit fc9d428

Browse files
Timna BrownTimna Brown
authored andcommitted
feat: prompt for missing blueprint workflows and README markers
1 parent 1f4f80b commit fc9d428

File tree

3 files changed

+579
-101
lines changed

3 files changed

+579
-101
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ devopster repo list
8484
| `devopster login` | - `<github\|azure-devops\|gitlab>`<br/>- `all`<br/>- `status`<br/>- `logout <provider>` | - Sign in to that provider via browser (uses `gh`, `az`, or `glab` CLI)<br/>- Sign in to all three providers sequentially<br/>- Show authentication status for all providers<br/>- Remove stored credentials for a provider |
8585
| `devopster repo list` | - `--topic <topic>` | - List all repositories in the configured organization<br/>- Filter repositories by topic |
8686
| `devopster repo audit` | N/A | - Audit repos for missing description, topics, license, and default branch |
87-
| `devopster repo fix` | N/A | - Prompt for missing description, topics, and license in scoped repos |
87+
| `devopster repo fix` | N/A | - Prompt for missing description, topics, and license in scoped repos that actually need fixes |
8888
| `devopster repo blueprint` | - `--name <name> --template <template>` | - Create a new repository from a template defined in config |
89-
| `devopster repo sync` | - `--from-blueprint` | - Push files from `.github/` to all repositories<br/>- Sync pipeline and policy files from the blueprint repo |
89+
| `devopster repo sync` | - `--from-blueprint` | - Push files from `.github/` to all repositories<br/>- Compare required workflow files from the blueprint repo, prompt to add any missing ones, and prompt to add the org README header and badge markers |
9090
| `devopster catalog generate` | N/A | - Export a JSON catalog of all repositories |
9191
| `devopster topics align` | N/A | - Add missing template topics to every matching repository |
9292
| `devopster stats` | - `--scope-missing` | - Print org summary: config, coverage (description/topics/license/branch), compliance, and top topics<br/>- Update scoped repos to the non-compliant list |

src/cli/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Commands:
3434
{tab}repo fix Prompt to fix missing metadata
3535
{tab}repo blueprint Create a new repository from a blueprint
3636
{tab}repo sync Push files from .github/ to all repositories
37-
{tab}repo sync --from-blueprint Sync files from the blueprint repo
37+
{tab}repo sync --from-blueprint Prompt to add missing blueprint workflows and README markers
3838
{tab}catalog generate Export a catalog.json of all repositories
3939
{tab}topics align Add missing template topics to repositories
4040
{tab}stats Print org-wide metadata coverage and compliance

0 commit comments

Comments
 (0)