opencode-project
v1.0.1
Published
CLI tool for managing OpenCode projects
Readme
OpenCode Project Manager
A powerful CLI tool for managing OpenCode projects. Easily list, inspect, and remove projects with a beautiful terminal interface.
Features
- 📋 List Projects - View all your OpenCode projects in a beautifully formatted table
- 🗑️ Remove Projects - Safely delete projects and all associated data with cascade deletion
Installation
Using npx (Recommended)
No installation required! Run directly with npx:
npx opencode-project@latest --helpGlobal Installation
Install globally to use anywhere:
npm install -g opencode-project
opencode-project --help
# or with pnpm
pnpm add -g opencode-project
opencode-project --helpUsage
List All Projects
View all your OpenCode projects:
opencode-project list
# or use the short alias
opencode-project ls
# with custom data path
opencode-project list --data-path /path/to/opencode/data
# with verbose output
opencode-project list --verboseRemove Projects
Remove one or more projects and all associated data:
# remove a single project
opencode-project remove <project-id>
# remove multiple projects
opencode-project remove <id1> <id2> <id3>
# use short alias
opencode-project rm <project-id>
# other aliases
opencode-project delete <project-id>
opencode-project del <project-id>⚠️ Warning: This operation is irreversible. All associated data will be permanently deleted.
Global Options
opencode-project [options] [command]
Options:
-V, --version output the version number
-d, --data-path <path> Path to opencode data directory or database file
-v, --verbose Enable verbose output
-h, --help display help for commandContributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have questions, please open an issue on GitHub.
Made with ❤️ for the OpenCode community
