rmariuzzo / mishell

Mishell: collection of shell utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool




🐚 Mishell

Collection of shell utilities related to git, npm and more.




Installation

npm i mishell

Usage

With installation:

mishell [command]

Without installation:

npx mishell [command]

Documentation

run-if-file-exist

  • Alias: rife
  • Usage: rife [command] [--file=file1] [--file=file2] ... [--file=file3]
  • Description: Pull docker images if a docker-compose.yml exists.

git-default-remote-branch

  • Alias: gdrb
  • Usage: gdrb [remote=origin]
  • Description: Return the default remote branch for a git repo.

git-clean-branches

  • Alias: gcb
  • Usage: gcb [remote=origin]
  • Description: Remove all local branches preserving the default remote branch for a git repo.

git-fetch-pull

  • Alias: gfp
  • Usage: gfp [branch=current] [remote=origin]
  • Description: Fetch and pull remote changes for a git repo.

git-refresh

  • Alias: gr
  • Usage: gr [remote=origin]
  • Description: Remove all local branches preserving the default remote branch for a git repo. Also fetch and pull changes from the default remote branch.

update-nvmrc

  • Alias: un
  • Usage: un [version=--lts]
  • Description: Update the local .nvmrc file with the specified nvm version.

npm-pre-version

  • Alias: npv
  • Usage: npv [newversion] [releaseid]
  • Description: Create an NPM new tag pre-version.




MIT License
Made with ♥ by: Rubens Mariuzzo for Mishell, my love.

About

Mishell: collection of shell utilities.

License:MIT License


Languages

Language:TypeScript 90.4%Language:JavaScript 9.6%