Skip to content

refactor(cli): renamed subcommand commands to command#9

Merged
PRASSamin merged 1 commit intomainfrom
pras
Aug 25, 2025
Merged

refactor(cli): renamed subcommand commands to command#9
PRASSamin merged 1 commit intomainfrom
pras

Conversation

@PRASSamin
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings August 25, 2025 10:44
Copy link
Contributor

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 PR refactors the CLI to rename the subcommand from commands to command for better consistency and naming clarity. This change improves the user experience by making the command structure more intuitive.

Key changes:

  • Renamed the commands subcommand to command in the CLI code
  • Updated all documentation references to reflect the new command name
  • Added an unreachable return statement in test command

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
cmd/command/root.go Updated the cobra command definition to use "command" instead of "commands"
README.md Updated documentation to reflect the new command name in examples and command table
CHANGELOG.md Added changelog entry for the subcommand rename and reformatted existing entries
dev/cmd/test.go Added an unreachable return statement after error handling
.github/workflows/ci.yml Removed push trigger on main branch from CI workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@PRASSamin PRASSamin merged commit f405f2c into main Aug 25, 2025
2 checks passed
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