Skip to content

Run Git work flows for GitHub with issue tracking ticket numbers.

Notifications You must be signed in to change notification settings

greganswer/megit

Repository files navigation

megit

Run Git work flows for GitHub with issue tracking ticket numbers.

oclif Version CircleCI Downloads/week License

Usage

$ 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
...

Commands

megit help [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

megit open

Open an issue in the default web browser

USAGE
  $ megit open

See code: src/commands/open.ts

Development

  1. Generate a command by running npx oclif <COMMAND_NAME> (the oclif command generator)
  2. Write the oclif test
  3. Write the oclif command
  4. Use the Inquirer.js library to ask for user input
  5. Use the listr library for multi step commands
  6. Run yarn test before committing your changes
  7. 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

About

Run Git work flows for GitHub with issue tracking ticket numbers.

Resources

Stars

Watchers

Forks

Packages

No packages published