1.0.8 • Published 2 years ago

mwc-commander v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

mwc-commander

CLI for MWC(Mobile World Congress), that allows to access information from the MWC and other developers and technology professionals who will attend.

Installation

There are 2 ways to use the CLI

First

After clone the repositoy, run:

npm install
npm link

The last command will create a symlink in the global folder, after that, we use our custom command mwc

Second

npm i mwc-commander -g

Install the command from https://www.npmjs.com/package/mwc-commander directly.

Command

mwc init|i. Fetch MWC data and save into database(THIS SHOULD BE YOUR FIRST COMMAND TO RUN)

$ mwc init
// or
$ mwc i

mwc list|l. Show a list of developers who will be attending MWC

$ mwc list
// or
$ mwc l

You might pass orderBy option for mwc list command to order the data:

$ mwc list --orderBy=name
$ mwc list --orderBy=email
$ mwc list --orderBy=category
$ mwc list --orderBy=phone
$ mwc list --orderBy=days_to_attend

mwc add|a. Add a new developer who will be attending MWC

$ mwc add
// or
$ mwc a

$ ? Developer's name Test
$ ? Developer's email address test@test.com
$ ? Developer's phone 123-1234
$ ? Select day to attend Mar 1, 2021, Mar 2, 2021
$ ? Developer's category Back
✔ Inserted new deveoper

mwc day. Show the number of days available for MWC

$ mwc day

You may want to list all available command, run:

$ mwc help
// or
$ mwc

UNINSTALL

npm uninstall -g mwc-commander

Unistall the command globally

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago