labor-cli
CLI interface for managing your tasks on Labor
Usage
$ npm install -g labor-cli$ labor COMMANDrunning command...$ labor (-v|--version|version)labor-cli/0.1.1 darwin-x64 node-v10.13.0$ labor --help [COMMAND]USAGE $ labor COMMAND...
Commands
labor help [COMMAND]
display help for labor
USAGE
$ labor help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
labor login
Enter your credentials to start using Labor.
USAGE
$ labor login
OPTIONS
-a, --account=account Optional email. Pass only if you need to call this command programatically.
-h, --help show CLI help
-p, --password=password Optional password. Pass only if you need to call this command programatically.
See code: src/commands/login.ts
labor logout
Forgets your credentials
USAGE
$ labor logout
OPTIONS
-h, --help show CLI help
See code: src/commands/logout.ts
labor start
Start a new task
USAGE
$ labor start
OPTIONS
-h, --help show CLI help
-y, --default Use default answers to all fields.
--name=name Optional name of the task. If not provided, this command will start a blank task.
--project=project Optional project of the task. Must match one of the projects configured for your institution. If
not provided, this command will start a task without project.
--time=time Optional start date. Must be in the past and represent a RFC2822 date. Default is now.
See code: src/commands/start.ts