Skip to content

Control the Lungo app from the command-line

License

Notifications You must be signed in to change notification settings

sindresorhus/lungo-cli

Repository files navigation

lungo-cli

Control the Lungo app from the command-line

Install

npm install --global lungo-cli

Requires Node.js 14.

Important: The is-active command requires you to install this shortcut first.

Usage

$ lungo --help

  Usage
    $ lungo [command]

  Commands
    on
    off
    toggle
    is-active

  Options
    --hours -h    Hours Lungo should be active
    --minutes -m  Minutes Lungo should be active

  Examples
    $ lungo on --hours=1 --minutes=10
    $ lungo on
    $ lungo off
    $ lungo toggle --hours=1.5
    $ lungo

    $ lungo is-active
    true

  If you don't specify a duration, it will use the default duration.

  You can also toggle by leaving out the command.