diff --git a/dist/index.js b/dist/index.js index b6815120..fe27292f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -178,7 +178,7 @@ For all available versions, see https://github.com/aliyun/fc-docker or https://h - server: start server container for invoking function in the other terminal repeatedly - normal: default mode, invoke event function and then close the container`,alias:"m",type:String},{name:"config",typeLabel:"{underline [vscode/pycharm/idea]}",description:"[Optional] Select which IDE to use when debugging and output related debug config tips for the IDE. value: vscode/pycharm/idea",alias:"c",type:String},{name:"debug-port",description:"[Optional] Specify the local function container starting in debug mode, and exposing this port on localhost",alias:"d",type:Number},{name:"debug-args",description:"[Optional] Additional parameters that will be passed to the debugger",type:String},{name:"debugger-path",description:"[Optional] The path of the debugger on the host",type:String},{name:"tmp-dir",description:"[Optional] The temp directory mounted to '/tmp' , default: './.s/tmp/invoke/serviceName/functionName/'",type:String},{name:"server-port",description:"[Optional] The exposed port of http server, default value is the random port between 7000 and 8000",type:Number}]},{...le},{...fe},eu,{header:"Examples with Yaml",content:['$ s local invoke --event "hello world"']}],o4=[{header:"Local Start",content:"Local invoke fc http function"},{header:"Document",content:"https://serverless.help/t/local-start"},{header:"Usage",content:"$ s local start "},{header:"Options",optionList:[{name:"config",description:"[Optional] Select which IDE to use when debugging and output related debug config tips for the IDE. value: vscode/pycharm/idea",alias:"c",type:String},{name:"debug-port",description:"[Optional] Specify the sandboxed container starting in debug mode, and exposing this port on localhost",alias:"d",type:Number},{name:"custom",description:"[Optional] Access in the form of custom domain",type:String},{name:"debug-args",description:"[Optional] Additional parameters that will be passed to the debugger",type:String},{name:"debugger-path",description:"[Optional] The path of the debugger on the host",type:String},{name:"sdk-version",description:"[Optional] Old edition call function using path",typeLabel:"{underline [2016-08-15]}",type:String},{name:"custom-domain",description:"[Optional] Access in the form of custom domain",type:String},{name:"tmp-dir",description:"[Optional] The temp directory mounted to '/tmp' , default: './.s/tmp/invoke/serviceName/functionName/'",type:String},{name:"server-port",description:"[Optional] The exposed port of http server, default value is the random port between 7000 and 8000",type:Number}]},{header:"Global Options",optionList:[{name:"help",description:"Display help for command.",alias:"h",type:Boolean}]},{header:"Examples with Yaml",content:["$ s {bold local start} [{bold --debug-port} {underline 9000}] [{bold --config} {underline vscode}]"]}];var Vd=[{header:"Nas",content:"Upload and download files for NAS service"},{header:"Document",content:"https://serverless.help/t/nas"},{header:"Usage",content:"$ s nas "},{header:"SubCommand List",content:[{desc:"download",example:"Download resources; help command [s nas download -h]"},{desc:"upload",example:"Upload resources; help command [s nas upload -h]"},{desc:"command",example:"Execute relevant instructions; help command [s nas command -h]"}]}],Uee=[{header:"Nas Upload",content:"Upload resources"},{header:"Document",content:"https://serverless.help/t/nas-upload"},{header:"Usage",content:[{example:"$ s nas upload "}]},{header:"Options",optionList:[{name:"recursive",description:"[Optional] Iterate to copy folder content",alias:"r",defaultOption:!1,type:Boolean},{name:"override",description:"[Optional] Override existing files",alias:"o",defaultOption:!1,type:Boolean}]},{...le},{...fe},{header:"Examples with Yaml",content:["$ s nas upload /home/usr/demo.file /mnt/auto/"]}],Wee=[{header:"Nas Download",content:"Download resources"},{header:"Document",content:"https://serverless.help/t/nas-download"},{header:"Usage",content:[{example:"$ s nas download "}]},{header:"Options",optionList:[{name:"no-unzip",description:"[Optional] Do not unzip the folder",defaultOption:!1,type:Boolean},{name:"override",description:"[Optional] Override existing files",alias:"o",defaultOption:!1,type:Boolean}]},{...le},{...fe},{header:"Examples with Yaml",content:["$ s nas download /mnt/auto /home/usr/demo.file"]}],zee=[{header:"Nas Command",content:"Operation instruction"},{header:"Document",content:"https://serverless.help/t/nas-command"},{header:"Usage",content:[{example:"$ s nas command "}]},{...le},{...fe},{header:"Examples",content:[{example:"$ s nas command ls -al /mnt/auto"},{example:"$ s nas command mkdir /mnt/auto/demoDir"},{example:"$ s nas command rm -rf /mnt/auto/demoDir"}]}],Hee=[{header:"Nas Init",content:"Init nas resources"},{header:"Document",content:"https://serverless.help/t/nas-init"},{header:"Usage",content:[{example:"$ s nas init"}]},{...le},{header:"Examples with Yaml",content:[{example:"$ s nas init"}]}],a4={download:Wee,upload:Uee,command:zee,init:Hee};var s4=[{header:"Plan",content:"Perceived resource change"},{header:"Document",content:"https://serverless.help/t/plan"},{header:"Usage",content:[{example:"$ s plan