Shared gh-style conveniences: --json/--jq, TTY tables, --web, prompts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
Research direction
The issue names no existing source files; start from the first command group it mentions (auth status or product) and the published OpenAPI document at source.coop/api/openapi. Done means the shared flags, TTY table, shorthand and prompts work on that first command, with the API's field_errors shown as-is, and a CLI path added under docs.source.coop docs/using-source/. Design decisions on flag and prompt behaviour should be settled with maintainers before coding.
Written by the indexing model from the issue text.
Description
Cross-cutting behaviour every command group uses. Land it alongside the first dedicated command (likely auth status or product).
--json <fields>and--jq <expr>on every read; a table when stdout is a TTY.--webopens the matching source.coop page.account/productshorthand, e.g.source-coop product view radiant/landcover.- Interactive prompts for missing required arguments when a TTY is attached; none otherwise (fail with a usage error).
--helptext and any generated request types come from the published OpenAPI document atsource.coop/api/openapi.
Part of #21. Per the epic, the CLI validates nothing itself: it sends the request and shows the API's field_errors. Add a CLI path to docs.source.coop docs/using-source/ wherever this flow gets one.
- Dominant language
- Rust
- Stars
- 1
- Forks
- 0
- Avg merge
- 18h 52m
- Merged PRs (30d)
- 19
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from source-cooperative/source-coop-cli
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 28/100
source-cooperative/source-coop-cli#35 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 3-5 days Newbie friendliness 22/100
source-cooperative/source-coop-cli#34 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 28/100
source-cooperative/source-coop-cli#33 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
source-cooperative/source-coop-cli#32 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 28/100
source-cooperative/source-coop-cli#31 ·
Maintainers usually reply within 1 day
All issues in source-cooperative/source-coop-cli
Similar issues
-
area:gc-repack-output bug factory:dogfood factory:triaged priority:p3 type:bug type:ux
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gitbutlerapp/grit#1161 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
storytold/photocraft#7520 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day