Skip to main content

Get

Print the behavior DSL: each option, method, example part and field tag.

Print each part of the behavior DSL, what it makes osapi do and when to use it. The list comes from this binary. Thus it agrees with the build that you run. Read it before you write a behavior, then check the result with osapi behavior validate.

osapi behavior spec get

Examples​

osapi behavior spec get
osapi behavior spec get --json

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.