osapi behavior
List, describe and validate the behaviors this binary has.
osapi cli command get --name behavior shows the same.
Group
| Name | behavior |
| Description | List, describe and validate the behaviors this binary has |
osapi behavior list
| Method | list |
| Description | List the behaviors this binary has |
osapi behavior get
| Method | get |
| Description | Show a behavior: its surfaces, chain, methods, types and telemetry |
| Refuses | no name |
Flags (1)
| FLAG | TYPE | VALIDATE | HELP |
|---|---|---|---|
| --name | string | required | The behavior, from osapi behavior list |
osapi behavior method get
| Method | method get |
| Description | Show one method of a behavior: its fields, constraints, output and examples |
| Refuses | no name, no method |
Flags (2)
| FLAG | TYPE | VALIDATE | HELP |
|---|---|---|---|
| --name | string | required | The behavior, from osapi behavior list |
| --method | string | required | The method, from osapi behavior get |
osapi behavior create
| Method | create |
| Description | Write a new behavior's standard layout in an osapi checkout |
| Refuses | no name, no description |
Flags (5)
| FLAG | TYPE | VALIDATE | HELP |
|---|---|---|---|
| --name | string | required | The behavior's name: lowercase letters and digits |
| --description | string | required | What it manages, in one line |
| --group | string | omitempty | Nest it under a group, such as network: its routes, commands and directory |
| --package | string | omitempty | The Go package and directory, when it is not the name: package is a Go keyword, so --name package --package packages |
| --root | string | omitempty | The osapi checkout to write into |
osapi behavior spec get
| Method | spec get |
| Description | Print the behavior DSL: each option, method, example part and field tag |
osapi behavior validate
| Method | validate |
| Description | Check every behavior against the rules the platform relies on |