yang 陽

Build Status

Yang is a rudimentary, experimental code generator. It both depends on Yin to manage its internal state, and currently only generates code for Yin.

This crate is named zamm_yang for consistency with zamm_yin. However, the name for this tool is just yang for all intents and purposes within the ZAMM universe.

Install

sh cargo install yang

Usage

```text yang 0.0.2 Amos Ng me@amos.ng Code generator for Yin.

USAGE: yang [OPTIONS] --id

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -d, --documentation Documentation string for concept. -i, --id ID of concept.

ARGS: Name of concept to generate code for. ```

Example

To generate code for the Target attribute with an ID offset of 2 from Yin's max id, run:

sh yang Target --id 2 -d "The target of an implement command."