qcl
v1.1.0
Published
Quick Command Line
Downloads
15
Maintainers
Readme
qcl: Quick Command Line

qcl is an addon that works on top of other package managers like npm and yarn.
It keeps track of all globally installed packages and removes those that have passed their expiry date. This allows you to quickly install temporary packages (or CLIs) without having to worry about uninstalling them.
By default, packages are kept for 48 hours. (See Configuration to change this).
Why
A lot of us have CLIs we installed years ago to interface with some obscure framework we were learning back in 2013. Today, CLIs take up a sizeable chunk of space and can sometimes cause keyword conflicts with other tools we use. To remedy this, you can use qcl to automatically uninstall that bulky package when you're done using it.
Installation
To install the latest version of qcl, run this command:
npm install -g qclUsage
Cleanup expired packages:
qcl
# or
qcl cleanupInstall a package:
qcl install express
# or with custom expiry time
qcl install express -e 3daysUninstall a package:
qcl uninstall expressList installed packages (and their expiry date):
qcl listGet more help:
qcl --help
# or for a specific command
qcl install --helpConfiguration
Currently, qcl supports the use of npm or yarn using the package_manager option. Default is npm. This can be changed using this command:
qcl set package_manager yarnYou can also change the default expiry duration using the expiry option. Default is 48hours. This can be changed using this command:
qcl set expiry 30minsContributing
- Fork it (https://github.com/PandawanFr/qcl/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
