Run Git work flows for GitHub with issue tracking ticket numbers.
$ npm install -g megit
$ megit COMMAND
running command...
$ megit (-v|--version|version)
megit/0.1.2 darwin-x64 node-v13.8.0
$ megit --help [COMMAND]
USAGE
$ megit COMMAND
...
display help for megit
USAGE
$ megit help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Open an issue in the default web browser
USAGE
$ megit open
See code: src/commands/open.ts
- Generate a command by running
npx oclif <COMMAND_NAME>
(the oclif command generator) - Write the oclif test
- Write the oclif command
- Use the Inquirer.js library to ask for user input
- Use the listr library for multi step commands
- Run
yarn test
before committing your changes - Run
yarn release
to publish using np CLI
Design Principles
- Fewer flags is better
- Works across all platforms
- Fewer features
- Contributions must have and pass tests