cnctd_cli 0.3.0

CLI for scaffolding and managing projects
# CLAUDE.md - cnctd_cli

> This file provides context about the cnctd CLI tool for Claude to reference in conversations.

## Project Summary

**cnctd_cli** is a command-line interface for scaffolding and managing projects in the Connected Dot ecosystem. It provides commands for project creation, version bumping, git operations, and workspace management.

## Installation

```bash
cargo install cnctd_cli
# Or from the monorepo:
cargo install --path apps/rust/cnctd_cli
```

## Commands

| Command | Description |
|---------|-------------|
| `cnctd new` | Start something new (project scaffolding) |
| `cnctd config` | Configure CLI settings |
| `cnctd update -m "message"` | Update git repo and publish module |
| `cnctd versions [-d dir]` | Get versions of all apps in directory |
| `cnctd bump [major\|minor\|patch]` | Bump project version |
| `cnctd repo` | Get repository info |
| `cnctd workspace` | Update Cargo workspace |
| `cnctd submodule` | Manage git submodules |
| `cnctd scripts` | Run named scripts |
| `cnctd s <name>` | Execute named shortcut |

## Module Structure

```
src/
├── main.rs         # CLI entry point, clap command definitions
├── routes.rs       # Command routing
├── project/        # Project information and operations
├── scaffold/       # Project scaffolding templates
├── config/         # CLI configuration
├── manager/        # Project management operations
└── scripts/        # Script execution
```

## Dependencies

Uses several cnctd modules:
- `cnctd_bump` - Version bumping
- `cnctd_cargo` - Cargo.toml manipulation
- `cnctd_dialogue` - Interactive prompts
- `cnctd_git` - Git operations
- `cnctd_go` - Go project support
- `cnctd_shell` - Shell command execution
- `cnctd_utils` - General utilities

## Usage Examples

```bash
# Create a new project
cnctd new

# Bump patch version and publish
cnctd bump patch

# Update module with commit message
cnctd update -m "Fix bug in parser"

# List versions in current directory
cnctd versions

# Run a named script
cnctd s deploy
```

## Ecosystem Role

The CLI ties together multiple cnctd modules to provide a unified developer experience for:
- Creating new projects with templates
- Managing versions across Rust, npm, and Go projects
- Automating git workflows
- Managing the monorepo workspace

## Version

Current version: **0.2.30**

---

*Part of the cnctd monorepo. See `../../../../CLAUDE.md` for ecosystem context.*