Skip to content

Standardize the Bower guide and next commands - #1

Merged
johnjosephhorton merged 2 commits into
mainfrom
docs/package-workflow-guide
Nov 28, 2026
Merged

johnjosephhorton merged 2 commits into
mainfrom
docs/package-workflow-guide

Conversation

@johnjosephhorton

@johnjosephhorton johnjosephhorton commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Using the package

Run bower guide after installation to read the package workflow. Use bower next to get the next step from the package’s project state. Project location and input options follow this package’s own CLI. Before installation, EDSL can point to the existing documentation.

Exposes the installed README as the guide and reuses the commissioning workflow for the next project action.

Verification

Built a wheel, installed it in a disposable environment, and invoked the guide through the installed console script from a temporary directory. Tested the installed next command against an initialized project.

Directory rollout · EDSL discovery

@johnjosephhorton johnjosephhorton changed the title Make the Bower workflow guide available before installation Standardize the Bower guide and next commands Nov 28, 2026
@johnjosephhorton
johnjosephhorton marked this pull request as ready for review November 28, 2026 01:38
@johnjosephhorton
johnjosephhorton merged commit 5e0c197 into main Nov 28, 2026
@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5 · The PR appears safe to merge, with a non-blocking guide failure for uninstalled source checkouts.RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes affect users who choose to run the new Bower commands.

The PR appears safe to merge, with a non-blocking guide failure for uninstalled source checkouts.

Findings

  1. P2 Guide fails in source checkouts ▶

Summary

Adds two top-level commands:

  • Bower exposes its guide and project next steps as CLI commands.

One non-blocking issue remains: the guide crashes when run directly from an uninstalled source checkout.

Reviews (1) · Last reviewed commit: "Use the native guide and project next co..." · Reviewed by Greptile

Comment thread bower/cli.py
a = parser().parse_args(argv)
if a.command == "init":
if a.command == "guide":
result = {"markdown": metadata("bower")["Description"]}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Guide fails in source checkouts

If bower is not installed, running python3 -m bower guide from a source checkout raises PackageNotFoundError, which main does not catch. Developers get a traceback instead of the guide, even though the repository supports running directly through Python. Add a README fallback for source checkouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant