1.6.16 • Published 3 years ago

json-serverless v1.6.16

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

json-serverless

cli for json-serverless project

oclif Version Downloads/week License

Usage

$ npm install -g json-serverless
$ jsonsls COMMAND
running command...
$ jsonsls (-v|--version|version)
json-serverless/1.6.16 linux-x64 node-v10.24.0
$ jsonsls --help [COMMAND]
USAGE
  $ jsonsls COMMAND
...

Commands

jsonsls create-stack FILE [STAGE]

create the stackfolder and deploy the stack in the cloud

USAGE
  $ jsonsls create-stack FILE [STAGE]

ARGUMENTS
  FILE   path of JSON file
  STAGE  [default: dev] stage name

OPTIONS
  -a, --apikeyauth                 require api key authentication to access api
  -d, --description=description    api description
  -h, --help                       show CLI help
  -i, --region=region              AWS region
  -l, --loglevel=info|debug        [default: info] loglevel of outputs
  -n, --name=name                  api name
  -r, --readonly                   set api to readonly (true) or writeable (false)
  -s, --[no-]swagger               enable or disable swagger interface support
  -y, --autoapprove                skip interactive approval before deployment
  --apiRoute=apiRoute              [default: /api] path to use for api route
  --apikey=apikey                  set a specific api key - if not set a random key will be generated
  --apispecRoute=apispecRoute      [default: /api-spec] path for the swagger / open api specification
  --graphqlRoute=graphqlRoute      [default: /graphql] path for the graphql interface
  --swaggeruiRoute=swaggeruiRoute  [default: /ui] path for the swagger ui interface

See code: lib/commands/create-stack.js

jsonsls help [COMMAND]

display help for jsonsls

USAGE
  $ jsonsls help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

jsonsls run FILE

run and test the api locally

USAGE
  $ jsonsls run FILE

ARGUMENTS
  FILE  path of JSON file

OPTIONS
  -a, --apikeyauth                 enable api key authentication to access api
  -h, --help                       show CLI help
  -l, --loglevel=info|debug        [default: info] loglevel of outputs
  -r, --readonly                   set api to readonly (true) or writeable (false)
  -s, --[no-]swagger               enable or disable swagger interface support
  --apiRoute=apiRoute              [default: /api] path to use for api route
  --apikey=apikey                  set a specific api key - if not set a random key will be generated
  --apispecRoute=apispecRoute      [default: /api-spec] path for the swagger / open api specification
  --graphqlRoute=graphqlRoute      [default: /graphql] path for the graphql interface
  --swaggeruiRoute=swaggeruiRoute  [default: /ui] path for the swagger ui interface

See code: lib/commands/run.js

jsonsls update-stack [STAGE]

update the stackfolder and update the stack in the cloud

USAGE
  $ jsonsls update-stack [STAGE]

ARGUMENTS
  STAGE  [default: dev] stage name

OPTIONS
  -a, --apikeyauth                         require api key authentication to access api
  -h, --help                               show CLI help
  -l, --loglevel=info|debug                [default: info] loglevel of outputs
  -p, --currentdirectory=currentdirectory  current working directory that will be used for execution
  -r, --readonly                           set api to readonly (true) or writeable (false)
  -s, --[no-]swagger                       enable or disable swagger interface support
  --apiRoute=apiRoute                      [default: /api] path to use for api route
  --apikey=apikey                          set a specific api key - if not set a random key will be generated
  --apispecRoute=apispecRoute              [default: /api-spec] path for the swagger / open api specification
  --graphqlRoute=graphqlRoute              [default: /graphql] path for the graphql interface
  --swaggeruiRoute=swaggeruiRoute          [default: /ui] path for the swagger ui interface

See code: lib/commands/update-stack.js

jsonsls validate FILE

validate the json file against specific rules

USAGE
  $ jsonsls validate FILE

ARGUMENTS
  FILE  path of JSON file

OPTIONS
  -h, --help          show CLI help
  -s, --[no-]swagger  enable or disable swagger interface support

See code: lib/commands/validate.js

1.6.16

3 years ago

1.6.15

3 years ago

1.6.14

3 years ago

1.6.12

3 years ago

1.6.11

3 years ago

1.6.7

4 years ago

1.6.6

4 years ago

1.6.5

4 years ago

1.6.4

4 years ago

1.6.3

4 years ago

1.6.2

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.52

4 years ago

1.5.50

4 years ago

1.5.51

4 years ago

1.5.49

4 years ago

1.5.48

4 years ago

1.5.47

4 years ago

1.5.46

4 years ago

1.5.45

4 years ago

1.5.44

4 years ago

1.5.43

4 years ago

1.5.42

4 years ago

1.5.41

4 years ago

1.5.39

4 years ago

1.5.40

4 years ago

1.5.37

4 years ago

1.5.36

4 years ago

1.5.35

4 years ago

1.5.34

4 years ago

1.5.33

4 years ago

1.5.32

4 years ago

1.5.31

4 years ago

1.5.30

4 years ago

1.5.28

4 years ago

1.5.27

4 years ago

1.5.26

4 years ago

1.5.25

4 years ago

1.5.24

4 years ago

1.5.23

4 years ago

1.5.22

4 years ago

1.5.21

4 years ago

1.5.18

4 years ago

1.5.17

4 years ago

1.5.19

4 years ago

1.5.20

4 years ago

1.5.16

4 years ago

1.5.15

4 years ago

1.5.14

4 years ago

1.5.13

4 years ago

1.5.12

4 years ago

1.5.11

4 years ago

1.5.10

4 years ago

1.5.9

4 years ago

1.5.7

4 years ago

1.5.6

4 years ago

0.1.1

4 years ago

0.0.6-alpha.28

4 years ago

0.0.6-alpha.25

4 years ago

0.0.6-alpha.24

4 years ago

0.0.6-alpha.23

4 years ago

0.0.6-alpha.22

4 years ago

0.0.6-alpha.20

4 years ago

0.0.6-alpha.18

4 years ago

0.0.6-alpha.19

4 years ago

0.0.6-alpha.17

4 years ago

0.0.6-alpha.11

4 years ago

0.0.6-alpha.15

4 years ago

0.0.6-alpha.12

4 years ago

0.0.6-alpha.9

4 years ago

0.0.6-alpha.13

4 years ago

0.0.6-alpha.8

4 years ago

0.0.6-alpha.7

4 years ago

0.0.6-alpha.6

4 years ago

0.0.6-alpha.5

4 years ago

0.0.6-alpha.4

4 years ago

0.0.6-alpha.3

4 years ago

0.0.6-alpha.2

4 years ago

0.0.6-alpha.1

4 years ago

0.0.6-alpha.0

4 years ago

0.0.5-alpha.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.2-alpha.3

4 years ago

0.0.2-alpha.2

4 years ago

0.0.2-alpha.1

4 years ago

0.0.1

4 years ago