https://github.com/rmariuzzo/mishell
Mishell: collection of shell utilities.
https://github.com/rmariuzzo/mishell
shell utilities
Last synced: 2 months ago
JSON representation
Mishell: collection of shell utilities.
- Host: GitHub
- URL: https://github.com/rmariuzzo/mishell
- Owner: rmariuzzo
- License: mit
- Created: 2021-01-13T22:15:05.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-12T00:36:53.000Z (over 5 years ago)
- Last Synced: 2025-09-30T00:52:52.508Z (9 months ago)
- Topics: shell, utilities
- Language: TypeScript
- Homepage:
- Size: 640 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🐚 Mishell
**Collection of shell utilities related to git, npm and more.**
## Installation
```sh
npm i mishell
```
## Usage
#### With installation:
```sh
mishell [command]
```
#### Without installation:
```sh
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](./LICENSE)
Made with ♥ by: [Rubens Mariuzzo](https://github.com/rmariuzzo) for Mishell, my love.