title | description | position | category |
---|---|---|---|
Verify command |
Verify command |
5 |
Commands |
The verify commands are used to verify
the formats of serverless applications.
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 | Abbreviation | Default value | Description |
---|---|---|---|
template | t | s.yaml /s.yml |
Specifies the description file of a resource. |
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.