togo-cli

0.0.7 • Public • Published

togo-cli

A TODO project to be used in the terminal

安装

使用前请确保安装了 node.jsnpm, 同时确保 nodejs 版本是 >= 10+ 的. 可以在终端中这样查看其版本:

# 查看 node 版本
node -v
# 查看 npm 版本
npm -v

终端输入以下命令就可以安装了:

npm install togo-cli -g

若提示权限异常,可以使用 sodo npm install togo-cli -g.

安装成功,就会获得全局的 togo 可执行命令,可以使用 togo --help 查看帮助文档:

$ togo -h

Usage: togo <command>

Options:
  -V, --version     output the version number
  -h, --help        display help for command

Commands:
  add <title>       add TODO item
  done <itemIndex>  complete a TODO item
  del <itemIndex>   delete a TODO item
  clear             clear all todo item
  list [options]    list TODO items
  login <username>  login togo with username
  logout            logout togo
  export            export all todo items, include doing and done
  import <file>     import todo items from a file
  help [command]    display help for command


# Usage
  Check version: togo version
  Help: togo help

# GitHub
  https://github.com/front-end-captain/todo#readme

然后,就可以使用 togo 了.

Dependencies (9)

Dev Dependencies (25)

Package Sidebar

Install

npm i togo-cli

Weekly Downloads

8

Version

0.0.7

License

ISC

Unpacked Size

49.6 kB

Total Files

19

Last publish

Collaborators

  • brendan.ye