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

refactor: output format #3424

Merged
merged 9 commits into from May 6, 2024
Merged

Conversation

bingryan
Copy link
Contributor

@bingryan bingryan commented Mar 31, 2024

Description

refactor output format

Related Issue

Fixes #3176

Usage

json format(default)

ord --format json settings
ord -f json settings
ord settings

yaml format

ord -f yaml settings

minify format

ord -f minify settings

Help Change

-      --minify
-        Minify JSON output.
+  -f, --format <FORMAT>
+          Specify output format [default: json] [possible values: json, yaml, minify]

Copy link
Collaborator

@raphjaph raphjaph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks great!

@raphjaph raphjaph enabled auto-merge (squash) May 6, 2024 10:21
@raphjaph raphjaph merged commit a14599f into ordinals:master May 6, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print settings from subcommand as YAML
2 participants