Note: This tool is experimental and was generated with the help of AI Coding Agents.
JB Manager is a PHP command-line tool for managing projects and groups, designed to work seamlessly with JetBrains tools. It provides commands to list, create, delete, move, and open projects and groups, making it easier to organize and handle multiple projects efficiently.
- List, create, and delete groups
- List, move, and open projects
- Simple CLI interface
- Easily extensible
- Designed for integration with JetBrains IDEs (e.g., PhpStorm, IntelliJ IDEA)
- PHP 8.3 or higher
- Composer (for dependency management)
- JetBrains IDE (optional, for project opening integration)
Clone the repository and install dependencies:
git clone https://github.com/muench-dev/jb-manager.git
cd jb-manager
composer install
Alternatively, use the pre-built PHAR:
A compiled PHAR file is available for download in the latest GitHub releases.
You can also compile your own PHAR using the box tool:
box compile
This will generate the jb-manager.phar
file in the project root.
Run the CLI tool:
php cli.php [command] [options]
Or, if using the PHAR:
php jb-manager.phar [command] [options]
- List all groups:
php cli.php group:list
- Create a new group:
php cli.php group:create <group-name>
- Delete a group:
php cli.php group:delete <group-name>
- List all projects:
php cli.php project:list
- Move a project:
php cli.php project:move <project-name> <target-group>
- Open a project:
php cli.php project:open <project-name>
Run the test suite with PHPUnit:
vendor/bin/phpunit
Contributions are welcome! Please open issues or submit pull requests.
This project is licensed under the MIT License.