Skip to content

Latest commit

 

History

History

slsdz-cli

CLI

Options

  • --help Show help
  • --version Show version number
  • --id function id
  • --secret function secret
  • --init init new function (id and secret)
  • -f, --zip upload a function package (.zip)
  • -v, --verbose verbose level 0,1,2
  • --log function log
  • --about about

Note: The --id and --secret options are required. you can initialize new function using the --init option. also you can pass these two options as an env variables SFUNCTION_ID and SFUNCTION_SECRET.