magic-sauce

0.0.3 • Public • Published

🍝 Magic sauce

A collection of useful command line developer tools

Features

🐱 Git

ms pr [message]

Automatically create a PR on the command line

Notes:

  • If your branch name ends with -[0-9] (e.g. branch-123), it will add closes #123 in the PR description

  • If no message is given, the branch name will be used instead

  • Only :octocat: GitHub is supported. Requires credentials. Run hub browse to be prompted for them.


ms clean

Prune and delete local branches that have been deleted in the remote repo

Notes:

  • Will not delete local branches that have never been pushed

ms branch

Create a new branch from the main branch

Notes:

  • Avoids accidentally branching out from a non-main branch

  • Fetches and rebases the main branch before branching out


ms rebase

Pull the main branch and rebase your current branch on main

Notes:

  • Easily keeps your branch up to date

🐱 Misc

ms ip

Display your local IP address

Notes

  • Only works on MacOS

🍝 Magic sauce

ms --version

Display Magic sauce version

Running ms without an argument displays all options


Requirements

node


💻 Install

The recommended way to install is to either add it as a dependency to your project, or use npx.

Add as dependency to a JavaScript project

yarn add --dev magic-sauce

or

npm install --save-dev magic-sauce

npx

npx magic-sauce [script name]

Readme

Keywords

none

Package Sidebar

Install

npm i magic-sauce

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

3.14 kB

Total Files

4

Last publish

Collaborators

  • sajmoni