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

Improve CLI scriptability #240

Open
2 tasks done
achimnol opened this issue Dec 27, 2020 · 1 comment
Open
2 tasks done

Improve CLI scriptability #240

achimnol opened this issue Dec 27, 2020 · 1 comment
Labels
area:ux UI / UX issue. comp:cli Related to CLI component type:feature Add new features
Milestone

Comments

@achimnol
Copy link
Member

achimnol commented Dec 27, 2020

The backend.ai CLI currently has "human-friendly" outputs only.
Let's support more automation.

  • Provide JSON outputs for all commands, using a root-level option --output=json.
  • Explicit semantics for the process exit codes (notably, 0 for success and 1 for failures).

Overall, we could refer this guide: https://clig.dev/ (Korean translation: https://news.hada.io/topic?id=3484)

@achimnol achimnol added type:feature Add new features area:ux UI / UX issue. comp:cli Related to CLI component labels Dec 27, 2020
@achimnol achimnol added this to the Bank milestone Dec 27, 2020
@achimnol achimnol modified the milestones: Bank, 22.06 Jul 18, 2022
@achimnol
Copy link
Member Author

Related PRs: #559 and lablup/backend.ai-client-py#198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ux UI / UX issue. comp:cli Related to CLI component type:feature Add new features
Projects
None yet
Development

No branches or pull requests

1 participant