A command-line interface tool for scaffolding CAMI (Cellular Automaton Manager Intelligence) projects. Create plugin systems or visualization projects with a single command.
Install globally via npm:
npm install -g cami-cliRun the CLI to create a new project:
camiOr using npx (without global installation):
npx cami-cliThe CLI will guide you through an interactive setup process where you can:
- Name your project
- Choose between Plugin or Visual project types
- Customize your setup options
Creates a new system to extend functionality with custom plugins.
Features:
- Pre-configured C++ plugin skeleton
- CMake build system setup
- Template file system with automatic name replacement
- Git repository initialization
Creates a new system to visualize plugins using modern web technologies.
Features:
- React + Vite setup
- Optional PixiJS integration for grid-based rendering
- Tailwind CSS for styling
- Custom hooks for grid management (optional)
- Git repository initialization
- Node.js (v14 or higher)
- npm or yarn
- Git
- Clone the repository:
git clone https://github.com/Cellular-Automaton/CAMI-CLI.git
cd CAMI-CLI- Install dependencies:
npm install- Run locally:
npm startCAMI-CLI/
├── index.js # Main CLI entry point
├── package.json # Project metadata and dependencies
└── README.md # Documentation
Contributions are welcome! Please feel free to submit a Pull Request.
ISC
$ cami
Welcome to the CAMI cli!
How do you want to name your project? my-awesome-plugin
Select the type of project: Plugin (A new system to extend functionality)
✓ Plugin project created successfully!$ cami
Welcome to the CAMI cli!
How do you want to name your project? my-visualization
Select the type of project: Visual (A new system to visualize plugins)
Do you want a base project with a grid and PixiJS setup? Yes
✓ Project created successfully!Found a bug? Please open an issue on GitHub.