A CLI app for giki.app
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
$ 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
...
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
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
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
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
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