Skip to content

Commit

Permalink
添加 readme
Browse files Browse the repository at this point in the history
  • Loading branch information
uos-ljtian committed Aug 14, 2024
1 parent 04dc8aa commit c68f732
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
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
```
可以不设置输出文件。如果不设置,默认为标准输出。

0 comments on commit c68f732

Please sign in to comment.