Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(cli): Changing commands from singular to plural when applicable #856

Merged
merged 1 commit into from
May 27, 2024

Conversation

byawitz
Copy link
Member

@byawitz byawitz commented May 24, 2024

What does this PR do?

Changing command from singular to plural, for example: appwrite pull collection to appwrite pull collections .
CommanderJS will show errors like this automatically

error: unknown command 'collection'
(Did you mean collections?)

The change doesn't include appwrite init as this action is singular.

Test Plan

image

Base automatically changed from chore-backwards-compatibility to feat-create-resources May 27, 2024 13:16
@@ -1127,7 +1129,7 @@ push
.action(actionRunner(pushProject));

push
.command("function")
.command("functions")
Copy link
Member

Choose a reason for hiding this comment

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

remember to add alias('function') as well

@christyjacob4 christyjacob4 merged commit e587222 into feat-create-resources May 27, 2024
34 checks passed
@christyjacob4 christyjacob4 deleted the refactor-singular-to-plural branch May 27, 2024 13:20
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.

2 participants