Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Introduce concept of Command in replacement for Action #78

Closed
phuctm97 opened this issue Apr 25, 2020 · 1 comment · Fixed by #86
Closed

Introduce concept of Command in replacement for Action #78

phuctm97 opened this issue Apr 25, 2020 · 1 comment · Fixed by #86
Assignees
Labels
enhancement New feature or request released This issue or pull request has been resolved in a release
Milestone

Comments

@phuctm97
Copy link
Owner

Feature Request

Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.

Command is a better term describing a method, an Action is a Command with a set of arguments. Command should have mechanism for defining arguments, help, which simplify command developmemt and facilitate docs generation as well as autocompletion or CLI help.

Describe the solution you'd like
Please describe the desired behavior.

A Command should is a function, which a description/help, then a set of arguments. Each command's argument should have a type, description and certain constraint. Defining a command automatically documents and add validation for itself.

Describe alternatives you've considered
Please describe alternative solutions or features you have considered.

@phuctm97 phuctm97 added the enhancement New feature or request label Apr 25, 2020
@phuctm97 phuctm97 added this to the JXAX v2 milestone Apr 25, 2020
@phuctm97 phuctm97 self-assigned this Apr 25, 2020
@github-actions
Copy link

🎉 This issue has been resolved in version 2.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released This issue or pull request has been resolved in a release label Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request released This issue or pull request has been resolved in a release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant