Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.79 KB

verify.md

File metadata and controls

61 lines (43 loc) · 1.79 KB
title description position category
Verify command
Verify command
5
Commands

Verify command

The verify commands are used to verify the formats of serverless applications.

Command description

After you run the s verify -h command, the following help information is returned:

$ s verify -h
Usage: s verify

Application verification.

    Example:
        $ s verify
        
📖 Document: https://github.com/Serverless-Devs/Serverless-Devs/tree/master/docs/en/command/verify.md

Options:
  -t, --template [templatePath]  Specify the template file
  -h, --help                     Display help for command

Parameter description

Parameter Abbreviation Default value Description
template t s.yaml/s.yml Specifies the description file of a resource.

Example

You can run the s verify command to verify the format of an application:

# Sample success responses: 

 ✅  Format verification passed.

# Sample error responses: 
 ❌ Format verification failed.
      key               Your Value Type                 Target Type             Description
     CodeUri               String                        Struct                    The description of the parameter.

# Magic variables exist in the command output:
 ✴️ Format validation unknown: 
     key               Your Value Type               Target Type           Description
     CodeUri             Unknown                       Struct                 The description of the parameter.

 ❓There may be dependencies between components, and you need to deploy them before you can determine the format.