jwenjian / giki-cli

A CLI app for giki.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

giki-cli

A CLI app for giki.app

⚠️ If you want to upload image to your new giki talk, you MUST install picgo globally(npm install picgo -g) first, see this picgo bug.

Also I highly recommend you to test picgo by execute picgo upload <image_file> before using -i flag in giki new command


oclif Version Downloads/week License

Usage

$ npm install -g giki-cli
$ giki COMMAND
running command...
$ giki (-v|--version|version)
giki-cli/0.4.2 darwin-x64 node-v12.15.0
$ giki --help [COMMAND]
USAGE
  $ giki COMMAND
...

Commands

giki autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ giki autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ giki autocomplete
  $ giki autocomplete bash
  $ giki autocomplete zsh
  $ giki autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

giki explore

explore talks on giki.app

USAGE
  $ giki explore

OPTIONS
  -h, --help           show CLI help
  -n, --number=number  number of talks to explore, [1-20], default 5

See code: src/commands/explore.ts

giki help [COMMAND]

display help for giki

USAGE
  $ giki help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

giki list

list your latest talks

USAGE
  $ giki list

OPTIONS
  -h, --help           show CLI help
  -n, --number=number  number of talks to list, [1-20], default 5

See code: src/commands/list.ts

giki new TEXT

post a new giki under your account

USAGE
  $ giki new TEXT

ARGUMENTS
  TEXT  text to giki

OPTIONS
  -a, --action=weibo|i  action of the new giki
  -h, --help            show CLI help

  -i, --image=image     image file path to upload, note that image uploading is powered by
                        https://github.com/PicGo/PicGo-Core, please make sure you have the correct configuration.

  -t, --tag=tag         tag[s] of the new giki, you can set more than 1 tags but you must put the -t flag after the text
                        argument, like: `giki new "text to talk" -t <tag1> -t <tag2>`

See code: src/commands/new.ts

About

A CLI app for giki.app

License:MIT License


Languages

Language:TypeScript 97.9%Language:JavaScript 1.7%Language:Batchfile 0.4%