tari create
Creates a new Tari template crate from a starter template.
tari create <name> [OPTIONS]Alias: tari new
Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<name> | Name of the new crate (converted to snake_case) |
Options
Section titled “Options”| Option | Description |
|---|---|
-t, --template <ID> | Template to use (e.g. “fungible”, “meme_coin”). Prompted if not set. |
-o, --output <PATH> | Output directory (default: current directory) |
--skip-init | Skip git initialization |
--skip-metadata | Skip automatic metadata initialization |
-v, --verbose | Enable verbose output |
Examples
Section titled “Examples”# Interactive - prompts for template selectiontari create my-token
# Specify template directlytari create my-token -t fungible
# Custom output directory, no git inittari create my-token -o ~/projects --skip-initWhat it does
Section titled “What it does”- Scaffolds a new template crate using
cargo-generatefrom a starter template - Sets up metadata generation (
build.rs+[package.metadata.tari-template]) - Initializes a git repository