CLI Reference

Getting Started

The Getting Started tutorial is a step-by-step guide to introduce you to daSWAG. If you have not developed anything using Serverless technologies, this Getting Started is a great place to get started.

Usage

$ npm install -g daswag-cli
$ daswag COMMAND
running command...
$ daswag (-v|--version|version)
daswag-cli/1.0.0-beta darwin-x64 node-v10.15.1
$ daswag --help [COMMAND]
USAGE
  $ daswag COMMAND
...

Commands

daswag add

add a new component to your project

USAGE
  $ daswag add

See code: src/commands/add/index.ts

daswag add:api

Add an API based service

USAGE
  $ daswag add:api

See code: src/commands/add/api.ts

daswag add:client

Add a client interface

USAGE
  $ daswag add:client

See code: src/commands/add/client.ts

daswag autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ daswag autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

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

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

See code: @oclif/plugin-autocomplete

daswag doc [KEYWORD]

opens the official daSWAG documentation (daswag.tech/documentation) in a browser, and searches for a given keyword.

USAGE
  $ daswag doc [KEYWORD]

OPTIONS
  -s, --search  Search on Google

See code: src/commands/doc/index.ts

daswag help [COMMAND]

display help for daswag

USAGE
  $ daswag help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

daswag new

creates and initialize a new daSWAG project.

USAGE
  $ daswag new

See code: src/commands/new/index.ts