CLI Options
NeatNode uses an interactive prompt-based interface. Currently, all configuration is done through prompts rather than command-line flags.
Interactive Prompts
When you run npx neatnode, you’ll be prompted for:
| Prompt | Options | Description |
|---|---|---|
| Project name | Any valid folder name | Directory name for your project |
| Language | JavaScript, TypeScript | Choose your preferred language |
| Template | Basic, REST API, Socket.IO | Select project template |
| Include CRUD? | Yes, No | Include example CRUD files |
Available Flags
| Flag | Description |
|---|---|
--version, -v | Display CLI version |
--help, -h | Show help information |
Examples
# Interactive mode (recommended)
npx neatnode
# Check version
npx neatnode --version
# Show help
npx neatnode --helpFuture Options
Planned flags for upcoming releases:
--template <name>— Skip template prompt--typescript/--js— Skip language prompt--no-crud— Skip CRUD prompt--force— Overwrite existing directory
[!NOTE] These flags are planned but not yet implemented. Use interactive mode for now.