This project is archived. Its data is read-only.

Use commander.args in CLI

Description

As @anselmstordeur suggested we can use commander.args.length to check if user didn't provide any arguments to the tool, instead of additional variables.

Explanation

Less variables, less code.

Dependencies, issues to be resolved beforehand

None.

Edited Nov 30, 2018 by Jovan Krunić
Assignee Loading
Time tracking Loading