Skip to content

Latest commit

 

History

History
80 lines (66 loc) · 5.39 KB

readme.md

File metadata and controls

80 lines (66 loc) · 5.39 KB
title description position category
User guide of commands
Serverless Devs User guide of commands
1
Commands

User guide of commands

Background information

Serverless Devs allows you to run a command that contains the -h parameter to query the help information about a command. For example, you can run the s -h command to query the help information about the s command.

$ s -h
🚀  Welcome to the Serverless Devs.

Options
  --debug                        Open debug model.              
  --skip-actions                 Skip the extends section.      
  -t, --template <path>          Specify the template file.     
  -a, --access <aliasName>       Specify the access alias name. 
  -o, --output <outputFormat>    Specify the output format: json, yaml, raw.  
  -v, --version                  Output the version number.     
  -h, --help                     Display help for command.      

Commands
  config                         👤  Configure venders account.                
  init                           💞  Initializing a serverless project.        
  cli                            🐚  Command line operation without yaml mode. 
  verify                         🔎  Verify the application.                   
  set                            🔧  Settings for the tool.                    
  clean                          💥  Clean up the environment.                 
  component                      🔌  Installed component information.          
  edit                           🙌  Application editing.                      


Examples
  init                           Perform [s init] fast experience Serverless Devs. 

🧭  More information: https://github.com/Serverless-Devs/Serverless-Devs
🚀  More applications: https://registry.serverless-devs.com

Supported parameters

Parameter Abbreviation Default value Description Remarks
template t s.yaml/s.yml Specifies the description file of a resource.
access a the value of the access parameter specified in a YAML file/default Specifies the information about the key. You can use the key information that is configured by using the config command or [environment variables](command/config.md#Configure keys by using environment variables).
skip-actions - - Skips the actions section that is specified in the YAML file. -
debug - - Enables the debug mode. After you enable the debug mode, you can obtain a larger amount of information about the execution process of a tool.
output o default Specifies the output format. Support: default, json, yaml, raw
version v - Queries the version information. -
help h - Queries the help information. -

Supported commands