# Stackr CLI CLI tool for generating generating a rollup using stackrjs package ## Building the cargo package locally Clone the project ```bash git clone https://github.com/stackrlabs/stackr-cli ``` Go to the project directory ```bash cd stackr-cli ``` Build the package ```bash cargo build --release ``` Add to .bin ```bash mkdir -p ~/bin cp target/release/stackrup ~/bin/ ``` Give execution permissions ```bash chmod +x ~/bin/stackr_rollup ``` ## Usage ### Initialise a project ```bash $ stackrup init ``` This command will take up configurations for the rollup and use Google to generate a rollup ### Compiling ```bash $ stackrup compile ``` This command will transpile state.ts file to JS and then create a WASM build