Package Exports
- @newset/yoo-cli
- @newset/yoo-cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@newset/yoo-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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