sindresorhus / one-thing

Set the text for the One Thing app
https://sindresorhus.com/one-thing
MIT License
137 stars 3 forks source link
cli-app command-line-tool macos nodejs npm-package one-thing

one-thing

Set the text for the One Thing app

Requires Node.js 12 and the One Thing app to be installed.

CLI

npm install --global one-thing
$ one-thing --help

  Usage
    $ one-thing <text>
    $ one-thing --get

  Example
    $ one-thing 'Prepare for important meeting'

API

npm install one-thing
import oneThing, {getOneThing} from 'one-thing';

await oneThing('Prepare for important meeting');

console.log(await getOneThing());
//=> 'Prepare for important meeting'