Skip to content

Latest commit

 

History

History
236 lines (157 loc) · 5.55 KB

README.md

File metadata and controls

236 lines (157 loc) · 5.55 KB

meditate

a powerful slack-off CLI application.

NPM

oclif Version Download/week License

Preview

Reading book

Read view

med book ~/Downloads/天才基本法.txt

read view

You can also input numbers to jump with multiple pages change. (After you input these numbers, you can use j or k to jump to the next/previous page.)

Here I'll go on typing a j as demo:

Search view

 med book ~/Downloads/金凤华庭.txt -s 未梳洗

search view

You can even add an alias for your book:

set alias

Wordle game

Wordle game

Chinese poem · 一言

Chinese poem

Game · 2048

game2048

Days

days

Usage

$ npm install -g @slackoff/meditate
$ med COMMAND
running command...
$ med (--version)
@slackoff/meditate/2.3.0 win32-x64 node-v16.17.0
$ med --help [COMMAND]
USAGE
  $ med COMMAND
...

Commands

med 2048

2048 Game in terminal

USAGE
  $ med 2048

DESCRIPTION
  2048 Game in terminal

See code: dist/commands/2048/index.ts

med book [FILEPATH]

Read a novel, enjoy a story...

USAGE
  $ med book [FILEPATH] [-h] [-r] [-s <value>] [-j <value>]

FLAGS
  -h, --help            help information for book reading command.
  -j, --jump=<value>    assign a position to start reading.
  -r, --restart         restart reading progress of a given book.
  -s, --search=<value>  open searching view to locate given words.

DESCRIPTION
  Read a novel, enjoy a story...

See code: dist/commands/book/index.ts

med book alias [ALIASNAME] [ALIASPATH]

Set an alias for your book

USAGE
  $ med book alias [ALIASNAME] [ALIASPATH] [-l]

FLAGS
  -l, --list  list all aliases

DESCRIPTION
  Set an alias for your book

med cnpoem

get one sentence of a Chinese poem

USAGE
  $ med cnpoem

DESCRIPTION
  get one sentence of a Chinese poem

See code: dist/commands/cnpoem/index.ts

med days

Memorize your important days.

USAGE
  $ med days [-d <value> -n <value>]

FLAGS
  -d, --desc=<value>  description of a memo date
  -n, --new=<value>   create a new memorize day

DESCRIPTION
  Memorize your important days.

  Input date format could be any valid connector: dot(.)、slash(/) and dash(-)

EXAMPLES
  $ med days

  $ med days -n 2022.2.1 -d "Spring Festival"

See code: dist/commands/days/index.ts

med help [COMMAND]

Display help for med.

USAGE
  $ med help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for med.

See code: @oclif/plugin-help

med init

initialize meditate application data.

USAGE
  $ med init [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  initialize meditate application data.

See code: dist/commands/init/index.ts

med wordle

an interesting word guessing game.

USAGE
  $ med wordle [-h]

FLAGS
  -h, --history  print current month's game record

DESCRIPTION
  an interesting word guessing game.

See code: dist/commands/wordle/index.ts