mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
updated help
This commit is contained in:
parent
4ea8d5c4ee
commit
2a0290aeac
4
yaml.go
4
yaml.go
@ -19,13 +19,13 @@ func main() {
|
|||||||
{
|
{
|
||||||
Name: "read",
|
Name: "read",
|
||||||
Aliases: []string{"r"},
|
Aliases: []string{"r"},
|
||||||
Usage: "read <filename> <path>\n\te.g.: yaml read sample.json a.b.c\n\t(default) reads a property from a given yaml file",
|
Usage: "read <filename> <path>\n\te.g.: yaml read sample.json a.b.c\n\t(default) reads a property from a given yaml file\n",
|
||||||
Action: readProperty,
|
Action: readProperty,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "write",
|
Name: "write",
|
||||||
Aliases: []string{"w"},
|
Aliases: []string{"w"},
|
||||||
Usage: "write <filename> <path> <value>\n\te.g.: yaml write sample.json a.b.c 5\n\tupdates a property from a given yaml file, outputs to stdout",
|
Usage: "write <filename> <path> <value>\n\te.g.: yaml write sample.json a.b.c 5\n\tupdates a property from a given yaml file, outputs to stdout\n",
|
||||||
Action: writeProperty,
|
Action: writeProperty,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user