mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
Cut the v0.1.5 release.
This commit is contained in:
parent
921643972b
commit
5e6da71ff2
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ucg"
|
name = "ucg"
|
||||||
version = "0.1.4"
|
version = "0.1.5"
|
||||||
authors = ["Jeremy Wall <jeremy@marzhillstudios.com>"]
|
authors = ["Jeremy Wall <jeremy@marzhillstudios.com>"]
|
||||||
description = "A configuration generation grammar."
|
description = "A configuration generation grammar."
|
||||||
repository = "https://github.com/zaphar/ucg"
|
repository = "https://github.com/zaphar/ucg"
|
||||||
|
21
README.md
21
README.md
@ -42,6 +42,27 @@ SUBCOMMANDS:
|
|||||||
validate Check a specific ucg file for errors.
|
validate Check a specific ucg file for errors.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## compiling a file
|
||||||
|
|
||||||
|
```sh
|
||||||
|
Compile a specific ucg file.
|
||||||
|
|
||||||
|
USAGE:
|
||||||
|
ucg build [OPTIONS] <INPUT> --sym <sym> --target <target>
|
||||||
|
|
||||||
|
FLAGS:
|
||||||
|
-h, --help Prints help information
|
||||||
|
-V, --version Prints version information
|
||||||
|
|
||||||
|
OPTIONS:
|
||||||
|
-o, --out <out> Output file to write to.
|
||||||
|
--sym <sym> Specify a specific let binding in the ucg file to output.
|
||||||
|
-t, --target <target> Target output type. (flags, json, env, exec)
|
||||||
|
|
||||||
|
ARGS:
|
||||||
|
<INPUT> Input ucg file to build.
|
||||||
|
```
|
||||||
|
|
||||||
## Language Reference
|
## Language Reference
|
||||||
|
|
||||||
https://docs.rs/ucg/
|
https://docs.rs/ucg/
|
@ -36,7 +36,7 @@ fn do_flags<'a>() -> clap::ArgMatches<'a> {
|
|||||||
(@subcommand build =>
|
(@subcommand build =>
|
||||||
(about: "Compile a specific ucg file.")
|
(about: "Compile a specific ucg file.")
|
||||||
(@arg sym: --sym +takes_value +required "Specify a specific let binding in the ucg file to output.")
|
(@arg sym: --sym +takes_value +required "Specify a specific let binding in the ucg file to output.")
|
||||||
(@arg target: --target -t +required +takes_value "Target output type. (flags, json, env)")
|
(@arg target: --target -t +required +takes_value "Target output type. (flags, json, env, exec)")
|
||||||
(@arg out: --out -o +takes_value "Output file to write to.")
|
(@arg out: --out -o +takes_value "Output file to write to.")
|
||||||
(@arg INPUT: +required "Input ucg file to build.")
|
(@arg INPUT: +required "Input ucg file to build.")
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user