aiken/crates/cli
KtorZ 9c608ad9f1
Refactor cli's crate; split code into a hierarchy of modules.
This follows a simple convention:

    - `main.rs` contains as little as possible and delegates both
      data-types definitions and command executions to sub-modules.

    - modules are named after their respective commands. For
      sub-commands,

    - Each command module can be in one of two forms:

      - Either it is a leaf command, and it then contains an `Args`
	struct that defines the command arguments; and a function
	`exec` when outlines the execution logic.

      - Or, it is a group command with multiple sub-commands. In which
	case the module defines a `Cmd` struct encapsulating all
	sub-commands; and also an `exec` function which simply
	dispatches the logic to sub-functions.

    ---

    This commit also removes the `dev` command which is currently
    unused. The rationale being: if it's not there, it's not there.
2022-10-28 17:20:39 +02:00
..
src Refactor cli's crate; split code into a hierarchy of modules. 2022-10-28 17:20:39 +02:00
Cargo.toml Extra project utilities in their own crate. 2022-10-28 13:48:40 +02:00
README.md chore: readmes in uplc and cli 2022-06-18 23:15:05 -04:00

README.md

CLI

This is the crate that contains the aiken command line application which bundles together all the other crates in this project.

Install

cargo install aiken