Skip to content
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.

Latest commit

 

History

History
58 lines (40 loc) · 1.56 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.56 KB

A yarn/npm plugin for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework

Install

$ omf install yadd

Features

  • Update yarn/npm dependencies with one command.
  • Add new dependencies.
  • Fallback to yarn if npm isn't installed.
  • Specify whether to use yarn or npm.
  • Specify whether to update dependencies or devDependencies.

Usage

# it's as simple as this:
yadd

# specify that you want to use npm:
yadd -n # or yadd --npm

# specify that you want to update devDependencies:
yadd -d # or yadd --dev

# do both of the above:
yadd -nd # or yadd --npm --dev

# add new dependencies:
yadd new-package

# use npm and add new dependencies:
yadd -n new-package

# if running the command yadd doesn't make sense you can use the alias yup
# it does the exact same thing and autocompletion works the same as well
yup

Author

yadd © redxtech, Released under the MIT License.