This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
labor-cli with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
CLI interface for managing your tasks on Labor
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
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
Forgets your credentials
USAGE $ labor logout OPTIONS -h, --help show CLI help
See code: src/commands/logout.ts
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