Skip to content

JB Manager is a PHP command-line tool for managing projects and groups of JetBrains tools like PhpStorm or IntelliJ

License

Notifications You must be signed in to change notification settings

muench-dev/jb-manager

Repository files navigation

JB Manager

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.

Features

  • 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)

Requirements

  • PHP 8.3 or higher
  • Composer (for dependency management)
  • JetBrains IDE (optional, for project opening integration)

Installation

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.

Usage

Run the CLI tool:

php cli.php [command] [options]

Or, if using the PHAR:

php jb-manager.phar [command] [options]

Example Commands

  • 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>

Testing

Run the test suite with PHPUnit:

vendor/bin/phpunit

Contributing

Contributions are welcome! Please open issues or submit pull requests.

License

This project is licensed under the MIT License.

About

JB Manager is a PHP command-line tool for managing projects and groups of JetBrains tools like PhpStorm or IntelliJ

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages