Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = cmder.NewModule("parse"). SetUsage("Parse RAML file and show API in json format"). AddFlag( &cli.StringFlag{ Name: "f", Aliases: []string{"ramlfile"}, Value: "api.raml", Usage: "Source RAML file", Destination: &ramlFile, }, &cli.BoolFlag{ Name: "checkRAMLVersion", Usage: "Check RAML Version", Destination: &checkRAMLVersion, }, &cli.BoolFlag{ Name: "ignoreUnusedAnnotation", Usage: "Ignore unused annotations", Destination: &ignoreUnusedAnnotation, }, &cli.BoolFlag{ Name: "ignoreUnusedTrait", Usage: "Ignore unused traits", Destination: &ignoreUnusedTrait, }, &cli.BoolFlag{ Name: "allowIntegerToBeNumber", Usage: "Allow integer type to be number type when checking", Destination: &allowIntegerToBeNumber, }, &cli.BoolFlag{ Name: "allowArrayToBeNull", Usage: "Allow array type to be null", Destination: &allowArrayToBeNull, }, &cli.BoolFlag{ Name: "allowRequiredPropertyToBeEmpty", Usage: "Allow required property to be empty value, but still should be existed", Destination: &allowRequiredPropertyToBeEmpty, }, ). SetAction(action)
Module info
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.