-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04dc8aa
commit c68f732
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# j2y | ||
json to yaml tool。 | ||
|
||
# 使用 | ||
```shell | ||
./j2y -h | ||
Error: required flag(s) "input" not set | ||
Usage: | ||
json2yaml [flags] | ||
|
||
Flags: | ||
-h, --help help for json2yaml | ||
-i, --input string 输入 JSON 文件 | ||
-o, --output string 输出 YAML 文件 | ||
|
||
required flag(s) "input" not set | ||
``` | ||
可以不设置输出文件。如果不设置,默认为标准输出。 |