Sign Up for Free

RunKit +

Try any Node.js package right in your browser

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:

var laborCli = require("labor-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

labor-cli v0.1.1

CLI interface for managing your tasks on Labor

labor-cli

CLI interface for managing your tasks on Labor

oclif Version CircleCI Downloads/week License

* [labor-cli](#labor-cli)

Usage

```sh-session $ npm install -g labor-cli $ labor COMMAND running 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]`](#labor-help-command) * [`labor login`](#labor-login) * [`labor logout`](#labor-logout) * [`labor start`](#labor-start)

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free