Conversation
WalkthroughThe changes update the CLI application's help output and flag handling. In Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant A as Application
participant R as Command Registrar
U->>A: Call NewApplication(name, usage, usageText, version, useArtisan)
A->>A: Set HelpName ("<app name> [global options]")
U->>A: Call Register(commands)
A->>R: Append flags (excluding noANSIFlag)
R-->>A: Registered commands returned
sequenceDiagram
participant U as User
participant C as CLI Helper
U->>C: Request Help
C->>C: Format help output using appHelpTemplate ("Global options:" label)
C-->>U: Display help output
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🔇 Additional comments (4)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #881 +/- ##
=======================================
Coverage 67.54% 67.54%
=======================================
Files 151 151
Lines 10386 10387 +1
=======================================
+ Hits 7015 7016 +1
Misses 3001 3001
Partials 370 370 ☔ View full report in Codecov by Sentry. |
📑 Description
The Artisan usage format is
artisan [global options] command [options] [arguments...], so it makes more sense for--no-ansito be a global option.Closes https://github.com/goravel/goravel/issues/?
Summary by CodeRabbit
✅ Checks