Skip to content

kendraio/kendraio-console

Repository files navigation

kendraio-console

Kendraio Console

oclif Version Downloads/week License

Usage

$ npm install -g @kendraio/console
$ kendraio COMMAND
running command...
$ kendraio (-v|--version|version)
@kendraio/console/0.0.2 linux-x64 node-v10.15.1
$ kendraio --help [COMMAND]
USAGE
  $ kendraio COMMAND
...

Commands

kendraio convert INPUTFILE OUTPUTFILE

convert file format using adapter

USAGE
  $ kendraio convert INPUTFILE OUTPUTFILE

OPTIONS
  -e, --extract=extract  entity to extract

EXAMPLE
  $ kendraio convert input.xml output.csv
  convert an input file from XML to CSV
  $ kendraio convert var/data/rin-sample-01.xml test.csv -e="ResourceList.SoundRecording"
  specify a custom extraction rule
  $ kendraio convert var/data/rin-sample-01.xml test.csv -e="PartyList.Party"
  the default extraction rule

See code: src/commands/convert.ts

kendraio hello [FILE]

describe the command here

USAGE
  $ kendraio hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ kendraio hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

kendraio help [COMMAND]

display help for kendraio

USAGE
  $ kendraio help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help