alibaba-archive / fcli

The cli of function compute.
81 stars 18 forks source link

show sbox supported runtime #42

Closed ChanDaoH closed 5 years ago

ChanDaoH commented 5 years ago

增加列出 sbox 所有的 runtime 的功能

>>> sbox --help
sbox: A sandbox environment for installing the 3rd party libararies and trouble shooting. It's consistent with the function execution environment in FunctionCompute service. You should install dependent libraries or test your function in the sandbox to prenvent from any environment issues.
note: the sbox feature requires docker is availabe on your machine.
usage: sbox [flags]
       type "exit" to exit the sandbox.
flags:
  -d, --code-dir string   the code directory
      --help
  -t, --runtime string    supported runtimes :  nodejs6, nodejs8, java8, php7.2, python2.7, python3