Define actions and action-sets for a menu command.
This file purpose is declaring which actions or workflows are avaiable for a specific menu command and how one should interact with it.
- It is being scanned by
anchorat runtime upon menu command execution
- The name of the folder containing the
instructions.yamlfile will be the name that is used as its identifier
The basic structure of an instruction file is as follows:
instructions: actions: ... workflows: ...
instructions.yaml file has an option to define a unified global context for all of its comprising actions and workflows, these affects the pre-execution flow with custom prompt messages.
globals: context: <context-in-here> instructions: actions: ... workflows: ...
application: prints basic prompt message before action is executed
kubernetes: prints Kubernetes current context information before action is executed
contextattribute and it differs from the global one then the overridden context will be the one in use.