npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@eaj/todo-cli

v1.5.1

Published

CLI for Todo

Downloads

3

Readme

@eaj/todo-cli

CLI for Todo

oclif Version Downloads/week License

Introduction

Todo is a productivity (to-do list) system that draws its design loosely from the principles of Getting Things Done (GTD) by David Allen. It is built first and foremost to help you get things out of your head so that you can be relaxed and present. To help you to enjoy productivity, how about that?

There has been a missing piece in our culture of knowledge work: a system with a coherent set of behaviors and tools that functions effectively at the level at which work really happens. It must incorporate the results of big-picture thinking as well as the smallest of open details. It must manage multiple tiers of priorities. It must maintain control over hundreds of new inputs daily. It must save a lot more time and effort than are needed to maintain it. It must make it easier to get things done.

-- David Allen

Getting Started

Todo saves your data to a single JSON file.

Use the todo start command to set the path of the JSON file used to store your list. An .env file with a TODO_PATH variable is created in the working directory.

Usage

$ npm install -g @eaj/todo-cli
$ todo COMMAND
running command...
$ todo (-v|--version|version)
@eaj/todo-cli/1.5.1 darwin-arm64 node-v18.16.0
$ todo --help [COMMAND]
USAGE
  $ todo COMMAND
...

Commands

todo action SHORTCODE

adds action to given item

USAGE
  $ todo action SHORTCODE

ARGUMENTS
  SHORTCODE  shortcode of item to add action

See code: src/commands/action.ts

todo active

sets archived items to active

USAGE
  $ todo active

See code: src/commands/active.ts

todo add

add a new todo list item

USAGE
  $ todo add

OPTIONS
  -c, --category=category  [default: inbox] category where item will be added
  -u, --url=url            hyperlink relating to item (example: "https://google.com")

ALIASES
  $ todo new

See code: src/commands/add.ts

todo category SHORTCODE CATEGORY

updates the category of item

USAGE
  $ todo category SHORTCODE CATEGORY

ARGUMENTS
  SHORTCODE  shortcode of item to update category
  CATEGORY   category of item

See code: src/commands/category.ts

todo complete [SHORTCODE]

mark item or action as complete

USAGE
  $ todo complete [SHORTCODE]

ARGUMENTS
  SHORTCODE  shortcode of item or action to complete

ALIASES
  $ todo done

See code: src/commands/complete.ts

todo due SHORTCODE

set the due date of an item or action

USAGE
  $ todo due SHORTCODE

ARGUMENTS
  SHORTCODE  shortcode of item or action to complete

See code: src/commands/due.ts

todo empty

empties the trash bin

USAGE
  $ todo empty

See code: src/commands/empty.ts

todo help [COMMAND]

display help for todo

USAGE
  $ todo help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

todo intention SHORTCODE

update the intention of item or action

USAGE
  $ todo intention SHORTCODE

ARGUMENTS
  SHORTCODE  shortcode of item to add action

See code: src/commands/intention.ts

todo list [CATEGORY]

view list of todo items

USAGE
  $ todo list [CATEGORY]

ARGUMENTS
  CATEGORY  list by category of items

OPTIONS
  -l, --list=list  [default: list] list to be shown

See code: src/commands/list.ts

todo note SHORTCODE

add a note to the specified item or action

USAGE
  $ todo note SHORTCODE

ARGUMENTS
  SHORTCODE  shortcode of item to add action

See code: src/commands/note.ts

todo start

start a new todo list

USAGE
  $ todo start

See code: src/commands/start.ts

todo title SHORTCODE

update the title of item or action

USAGE
  $ todo title SHORTCODE

ARGUMENTS
  SHORTCODE  shortcode of item to add action

See code: src/commands/title.ts

todo trash [CATEGORY]

move selected items to trash

USAGE
  $ todo trash [CATEGORY]

ARGUMENTS
  CATEGORY  list by category of items

See code: src/commands/trash.ts

todo trash-archive

moved archived items into trash bin

USAGE
  $ todo trash-archive

See code: src/commands/trash-archive.ts

todo url SHORTCODE URL

add a url to item or action

USAGE
  $ todo url SHORTCODE URL

ARGUMENTS
  SHORTCODE  shortcode of item to add url
  URL        url to set as item url

See code: src/commands/url.ts

todo view SHORTCODE

view information for an item or action

USAGE
  $ todo view SHORTCODE

ARGUMENTS
  SHORTCODE  shortcode of item or action to view

See code: src/commands/view.ts