lablup / lablup/backend.ai

Improve CLI scriptability

Open
#240 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

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

- [x] Provide JSON outputs for all commands, using a root-level option `--output=json`.
- [x] 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)

JIRA Issue: BA-298

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.