@newset/yoo-cli
v1.0.5
Published
Developer workflow CLI tool with tmux management, project templates, and more
Readme
yoo-cli
A powerful developer workflow CLI tool with tmux management, git integration, and more.
Features
- 🚀 Tmux Management - Manage multiple directories with tmux panes
- 📦 Git Integration - Clone repositories and create worktrees
- 🎯 Project Templates - Generate project scaffolds
- 🔨 Build Management - Unified build and deployment interface
- ⚙️ Environment Management - Manage environment configurations
- 📊 Log Aggregation - View logs from multiple projects
Installation
npm install -g @newset/yoo-cliOr use directly:
npx @newset/yoo-cliUsage
Tmux Management
Open multiple directories in tmux with a single command:
yoo tmuxFeatures:
- Select existing folders in the current directory
- Create new folders
- Clone git repositories
- Automatically create git worktrees
- Open all directories in tmux panes
In tmux:
- If already in a tmux session, panes will be split in the current window
- Panes alternate between horizontal and vertical splits
Outside tmux:
- Creates a new tmux session with all directories
- Automatically attaches to the session
Project Structure
dev-tools/
├── src/
│ ├── commands/ # CLI commands
│ │ ├── tmux.ts # Tmux management
│ │ ├── template.ts # Project templates
│ │ ├── build.ts # Build management
│ │ ├── env.ts # Environment management
│ │ └── log.ts # Log aggregation
│ ├── lib/ # Libraries
│ │ ├── tmux/ # Tmux operations
│ │ ├── git/ # Git operations
│ │ ├── template/ # Template engine
│ │ └── logger.ts # Logging
│ └── index.ts # Entry point
├── dist/ # Compiled output
├── package.json
├── tsconfig.json
└── README.mdDevelopment
Build
npm run buildDevelopment mode
npm run devRun
npm startEnvironment Variables
DEBUG- Enable debug logging
DEBUG=1 yoo tmuxLicense
MIT
