Repository navigation
Standardize the Bower guide and next commands - #1
Conversation
[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
SummaryAdds two top-level 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 |
| a = parser().parse_args(argv) | ||
| if a.command == "init": | ||
| if a.command == "guide": | ||
| result = {"markdown": metadata("bower")["Description"]} |
There was a problem hiding this comment.
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.
Using the package
Run
bower guideafter installation to read the package workflow. Usebower nextto 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