2.0.2 • Published 3 years ago

@talkyjs/cli v2.0.2

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

@talkyjs/cli

oclif Version Downloads/week License

Usage

$ npm install -g @talkyjs/cli
$ talky COMMAND
running command...
$ talky (-v|--version|version)
@talkyjs/cli/2.0.2 darwin-x64 node-v12.14.1
$ talky --help [COMMAND]
USAGE
  $ talky COMMAND
...

Commands

talky generate TYPE NAME

g, gen, generate Generate files

USAGE
  $ talky generate TYPE NAME

ARGUMENTS
  TYPE  (handler|router|service) Generate file type
  NAME  Generate files name

OPTIONS
  -D, --dry-run
  -P, --path=path           [default: ./src] generate file path
  -S, --ssml=(tsx|default)  SSML markup type
  -T, --no-test             Ignore default test code
  -d, --debug
  -h, --help                show CLI help

ALIASES
  $ talky g
  $ talky gen

EXAMPLES
  Create ask-sdk RequestHandler
    $ talky g handler --ssml default

  With TSX 
    $ talky g handler --ssml tsx

  Specific directory 
    $ talky g handler --ssml tsx -P ./src

  Create ask-utils RequestRouter
    $ talky g router --ssml default

  With TSX 
    $ talky g router --ssml tsx

  Create service class 
    $ talky g service

  No test 
    $ talky g service --no-test

See code: src/commands/generate.ts

talky help [COMMAND]

display help for talky

USAGE
  $ talky help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

talky init

Init Alexa Skill project

USAGE
  $ talky init

OPTIONS
  -h, --help             show CLI help
  -p, --profile=profile  Provides the ASK CLI profile to use.
  --debug                Enables the ASK CLI to show debug messages in the output of the command

See code: src/commands/init.ts

talky setup

Setup a new Alexa app

USAGE
  $ talky setup

OPTIONS
  -B, --database=(none|s3|dynamodb)  [default: none] Skill database type
  -C, --controller=(handler|router)  [default: router] Request handler object type
  -D, --dry-run
  -P, --path=path                    [default: ./] target path
  -S, --ssml=(tsx|default)           [default: tsx] SSML markup type
  -T, --no-test                      Ignore default test code
  -d, --debug
  -h, --help                         show CLI help

EXAMPLES
  For ask-sdk user
    $ talky setup -C handler -S default

  With S3 adapter
    $ talky setup -B s3

  Without test code
    $ talky setup --no-test

See code: src/commands/setup.ts