An open API service indexing awesome lists of open source software.

https://github.com/sindresorhus/lungo-cli

Control the Lungo app from the command-line
https://github.com/sindresorhus/lungo-cli

cli-app command-line-tool lungo macos nodejs npm-package

Last synced: 11 months ago
JSON representation

Control the Lungo app from the command-line

Awesome Lists containing this project

README

          

# lungo-cli

> Control the [Lungo app](https://sindresorhus.com/lungo) from the command-line

## Install

```sh
npm install --global lungo-cli
```

*Requires [Node.js 14](https://nodejs.org).*

**Important: The `is-active` command requires you to install [this shortcut](https://www.icloud.com/shortcuts/4ad26c6b33724132ad6af18463fd451c) 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.
```