Skip to content

feat: add support for listing all sub-commands of a command#5289

Merged
remyleone merged 4 commits intoscaleway:masterfrom
remyleone:list_sub_commands
Jan 19, 2026
Merged

feat: add support for listing all sub-commands of a command#5289
remyleone merged 4 commits intoscaleway:masterfrom
remyleone:list_sub_commands

Conversation

@remyleone
Copy link
Member

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Release note for CHANGELOG:


Copilot AI review requested due to automatic review settings January 19, 2026 16:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds a new --list-sub-commands flag to all commands in the Scaleway CLI, enabling users to list all available subcommands for any given command.

Changes:

  • Added --list-sub-commands flag to the FLAGS section of all command usage outputs
  • Updated test golden files to reflect the new flag in command help text

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@remyleone remyleone requested a review from a team as a code owner January 19, 2026 16:35
@remyleone remyleone requested review from quantumsheep and removed request for a team and quantumsheep January 19, 2026 16:35
@codecov-commenter
Copy link

codecov-commenter commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.88%. Comparing base (e0a918f) to head (cae1e21).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5289      +/-   ##
==========================================
- Coverage   55.90%   55.88%   -0.02%     
==========================================
  Files         316      316              
  Lines       71606    71631      +25     
==========================================
+ Hits        40029    40032       +3     
- Misses      30084    30104      +20     
- Partials     1493     1495       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@remyleone remyleone linked an issue Jan 19, 2026 that may be closed by this pull request
@remyleone remyleone added this pull request to the merge queue Jan 19, 2026
Merged via the queue into scaleway:master with commit 2d6e718 Jan 19, 2026
123 checks passed
@remyleone remyleone deleted the list_sub_commands branch January 19, 2026 16:55
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.

Enumeration of all commands inside a command

5 participants