An open API service indexing awesome lists of open source software.

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.

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.