Skip to content

Commit

Permalink
More package information in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceadams committed Jan 16, 2019
1 parent 2460797 commit 133a801
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
[package]
name = "yj"
version = "0.7.7"
version = "0.7.8"
authors = ["Bruce Adams <[email protected]>"]
edition = "2018"

categories = ["command-line-utilities"]
description = "Command line tool that converts YAML to JSON"
license = "Apache-2.0"
edition = "2018"
homepage = "https://github.com/bruceadams/yj"
keywords = ["json", "yaml"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/bruceadams/yj"

[badges]
travis-ci = { repository = "bruceadams/yj" }

[dependencies]
failure = "0.1"
Expand Down
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,24 @@ Simple command line tool to convert a YAML input file into a JSON output file.

```bash
$ yj --help
yj 0.4.0
yj 0.7.8
Bruce Adams <[email protected]>
Read YAML, write JSON

USAGE:
yj [FLAGS] [OPTIONS] [input]
yj.exe [FLAGS] [OPTIONS] [input]

FLAGS:
-c, --compact Use compact formatting for the JSON output.
-h, --help Prints help information
-j, --json Parse the input as JSON. For more use cases,
this option makes no difference. Valid JSON is
valid YAML, so JSON input will (should?) parse
correctly even when being handled with the
YAML parser. Use this option when you want
failure (instead of weird results) when the
input is invalid JSON.
-j, --json Parse the input as JSON. For most use cases, this option makes no difference. Valid JSON is valid
YAML, so JSON input will (should?) parse correctly even when being handled with the YAML parser.
Use this option when you want failure (instead of weird results) when the input is invalid JSON.
-V, --version Prints version information
-y, --yaml Format the output as YAML instead of JSON.

OPTIONS:
-o, --output <output>
Output file name for the JSON. Defaults to stdout.

-o, --output <output> Output file name for the JSON. Defaults to stdout.

ARGS:
<input> Input YAML file name. Defaults to stdin.
Expand Down

0 comments on commit 133a801

Please sign in to comment.