Configuration
Each repository should contain its own config (.github_workflow), which should look like this:
{
"oauth_token": "TOKEN",
"user_and_repo": "ORG/REPO",
"trello_key": "KEY",
"trello_token": "TOKEN",
"trello_board_id": "BOARD_ID",
"trello_platform_board_id": "BOARD_ID"
}
Optionally, all general information except user_and_repo could be extracted to global config in your home directory
with the same name (~/.github_workflow)
Github Workflow
$ bin/github_workflow -h
Commands:
github_workflow create_and_start -m, --name=NAME # Create and start issue
github_workflow create_pr # Convert Issue to Pull Request
github_workflow help [COMMAND] # Describe available commands or one specific command
github_workflow info # Print out issue description
github_workflow open # Open issue or PR in browser
github_workflow push_and_pr # Push branch to origin and convert Issue to Pull Request
github_workflow start -i, --issue-id=ISSUE_ID # Create branch named with issue number and issue title
github_workflow status # Check PR CI status
github_workflow reviews # Print out reviewers list and their PRs count