hive-forge: make --json a global flag (closes #421)
This commit is contained in:
parent
3cd9240594
commit
d0a1ee037b
5 changed files with 33 additions and 16 deletions
|
|
@ -124,7 +124,7 @@ since #280). Use it instead of ad-hoc curl pipelines:
|
|||
```bash
|
||||
hive-forge view 42 # title + body + comments
|
||||
hive-forge comments 42 # list all comments (human-readable)
|
||||
hive-forge comments 42 --json # list as JSON array
|
||||
hive-forge --json comments 42 # same as above, JSON array (global flag, closes #421)
|
||||
hive-forge comment 42 --body "..." # post comment (inline body)
|
||||
hive-forge comment 42 --body-file - <<EOF # ...or pipe a HEREDOC
|
||||
multi-line body
|
||||
|
|
|
|||
Loading…
Reference in a new issue