A small CLI tool to create a GitHub issue out of a Mantis issue. Creates cross-references, so links the GitHub issue to mantis and vice versa.
composer global require artemeon/mantis2github
When you first installed the package, call the configure
command. You only need to do this once.
mantis2github configure
The command will direct you through the installation process.
If you have used a previous version of this package and already have a config.yaml
file, you can skip the configuration by running:
mantis2github configure path/to/config.yaml
mantis2github [command]
Command | Description |
---|---|
sync |
Create a GitHub issue from a Mantis issue |
read:github |
Read details of a GitHub issue |
read:mantis |
Read details of a Mantis issue |
issues:list |
Get a list of Mantis Tickets with their associated GitHub Issues. |
Create a GitHub issue from a list of Mantis issues.
mantis2github sync <ids>...
Argument | required | Description |
---|---|---|
ids |
true |
Mantis issue ids |
mantis2github sync 123
mantis2github sync 123 456 789
Read details of a GitHub issue.
mantis2github read:github <id>
Argument | required | Description |
---|---|---|
id |
true |
GitHub issue id |
Read details of a Mantis issue.
mantis2github read:mantis <id>
Argument | required | Description |
---|---|---|
id |
true |
Mantis issue id |
Get a list of Mantis Tickets with their associated GitHub Issues.
mantis2github issues:list [--output=html]
Option | Possible values | Description |
---|---|---|
output |
html |
Output Format |
This project is open-sourced software licensed under the MIT license.