feat(cli): interactive splash menu and grouped help (#3) - #7
Merged
Conversation
Bare aura opens an ASCII splash and numbered menu; subcommands unchanged for scripting. Adds rich tables, CLI module split, and extended CLI tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an interactive CLI experience when
aurais invoked with no subcommand: ASCII AURA splash, numbered menu (agents, sessions, run, home, help, version), and Skillware-style grouped help viaaura --help. Existing subcommands (aura agent,aura run,aura export, etc.) are unchanged for scripting and CI.Refactors the CLI into focused modules (
commands,splash,interactive,help_ui,styles,help_text) and addsrichas a core dependency for tables and the gradient splash. Includes UTF-8-safe output handling for piped/legacy Windows terminals.Closes #3 — extends the CLI integration tests from #2 with grouped help, interactive exit, and console script entry point checks.
Type
Checklist
Fixes #3)pytestpasses (53 passed)black aura tests— no diffflake8 aura tests— cleanCHANGELOG.mdupdated when user-visible behavior changesTest plan
pytest tests/test_cli.py -v— version, agent CRUD, run, logs/export/compare/otel, grouped--help, interactive splash +0exit, console script entry pointpytest tests/ -q— full suite (53 passed)aurashows splash and menu;aura --helpshows grouped topics;aura agent list/aura versionstill scriptableaura = "aura.cli.main:main"inpyproject.toml