Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

stacy init

Initialize new stacy project

Synopsis

stacy init <PATH> [OPTIONS]

Description

Creates a new stacy project with standard directory structure and configuration. This sets up stacy.toml for project settings and ado/ for local packages.

Run this in an existing directory or specify a path to create a new one.

Arguments

ArgumentDescription
<PATH>Project directory (default: current)

Options

OptionDescription
--forceOverwrite existing files
-i, --interactiveInteractive mode: prompt for project details and packages

Examples

Initialize in current directory

stacy init

Initialize in new directory

stacy init my-project

Exit Codes

CodeMeaning
0Project created successfully
1Initialization failed

See Exit Codes Reference for details.

See Also