nodeschool-workshops

1.1.0 • Public • Published

js-standard-style

NodeSchool Workshops Manager

A nodejs module that allows you to manage all the nodeschool workshops from your terminal, you can search, install and remove workshop(s) with just one or two line of code in your terminal without going to the internet and search manually for desired workshops.

How to install it ?

 [sudo] npm install -g nodeschool-workshops

[sudo] : Depending on your configuration, you may need to be an administrator in order to install npm packages

How to use it ?

List all workshops

 nsworkshops list

By default, this command list all the workshops(installed + not installed ones). You can add the -i(aka --installed) or -n(aka --notinstalled) flags to fetch only installed or not installed workshops respectively.

Examples
# to list installed workshops:
 nsworkshops list -i
# to list not installed workshops:
 nsworkshops list -n

Search for workshops

 nsworkshops search PATTERN

PATTERN is the workshop name(or some characters from the workshop name), fuzzy search is used here. By default, this command search for both installed & not installed workshops, the returned result can be a workshop name or an array of workshop names

Note : as always we can use the -i and -n flags to limit the returned result.

Examples
# search for installed workshops containing 'javascript':
 nsworkshops search javascript -i
# search for all workshops that contains 'js' and are not already installed:
 nsworkshops search js  -n

Install workshops

 nsworkshops install PATTERN
# Install the remaining workshops:
 nsworkshops install -n

Remove workshops

Remove a list of workshops that contains PATTERN as a substring or a single workshop if the full name is specified:

 nsworkshops remove PATTERN
# Remove installed workshops
 nsworkshops remove -i

How to contribute ?

You are interested and want to contribute? Awesome, you only need to consider the following steps:

  1. Fork this repository.
  2. Use standard to format your code(checkout scripts property in package.json file).
  3. Submit your pull request(PR).

Package Sidebar

Install

npm i nodeschool-workshops

Weekly Downloads

2

Version

1.1.0

License

ISC

Last publish

Collaborators

  • ismnoiet