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

Implement CLI options #10

Merged
merged 1 commit into from
May 27, 2023
Merged

Implement CLI options #10

merged 1 commit into from
May 27, 2023

Conversation

sayanarijit
Copy link
Owner

This adds:

-r, --raw output the raw rendered value without formatting
-p, --pretty pretty print the output
-y, --yaml output as YAML instead of JSON
-h, --help print this help message
-v, --version print the version number
-- stop parsing options

And removes:

  • %v
  • %R
  • %Y
  • %J

Also the Rust library exposes more functions, each for different formatting options.

This adds:

-r, --raw      output the raw rendered value without formatting
-p, --pretty   pretty print the output
-y, --yaml     output as YAML instead of JSON
-h, --help     print this help message
-v, --version  print the version number
--             stop parsing options

And removes:

- `%v`
- `%R`
- `%Y`
- `%J`

Also the Rust library exposes more functions, each for different
formatting options.
@sayanarijit sayanarijit merged commit 178b289 into main May 27, 2023
1 check passed
@sayanarijit sayanarijit deleted the cli branch May 27, 2023 19:08
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.

None yet

1 participant