Skip to content

sindresorhus/lungo-cli

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.