Skip to content
/ work Public

Use this CLI to create branches, pull requests, changelogs, and more.

Notifications You must be signed in to change notification settings

anfema/work

Repository files navigation

anfema Work

  • Create branches based on issues
  • Create Pull Requests from the command line
  • Create changelogs from merged pull requests

And

  • Batch update GitHub labels

Installation

If you have Node.js and Yarn installed, you can use install via:

yarn global add anfema/work

Usage

Changelogs

-l --changelog accepts a revision range, ie. 1.0.0 or 1.0.0..2.0.0 or ..HEAD to limit the requested and rendered pull requests to that range. The output can be piped as well. For example work -c | pbcopy can be used to create the changelog and send it straight to your pasteboard on macOS.

Configuration

This tool will ask for any required configuration. If you want to adjust default settings, you can add a JSON object to .config/work to adjust settings as necessary. Note: This should not be the case for anfema repositories.

Troubleshooting

  • The auto-generated config-file is located under ~/Library/Preferences/work-nodejs/config.json and can be deleted/changed there

Credits

The changelog feature is more based on than inspired by lerna-changelog which didn't quite match what we needed. It's a great project to look at and learn.

About

Use this CLI to create branches, pull requests, changelogs, and more.

Resources

Stars

Watchers

Forks

Packages

No packages published