Command Directives

What are “directives”?

Directives are actions that the Proggy CLI is able to perform when a user runs a Proggy sequence. They tell the Proggy CLI what to do.

A Prog script contains multiple steps of these directives.

What can directives do?

Some directives are simple, such as the Display Text directive. Other directives, such as the Make POST Request directive are more complex, allowing you to customize a POST request with custom headers and parameters.

By chaining together different directives, you can create simple and complex CLI programs that perform a variety of functions.

Are there any limits to directives?

When a Prog is run, it is executed in the context of the user who executed the command. This means that users without sufficient permissions may be unable to perform certain directives. The Prog command will fail and will exit with an error code.

Typically, you should execute Prog commands with the correct user and appropriate permission levels.

In some cases, Proggy does not have a pre-built directive that suits your needs. In these situations, you can execute custom bash scripts by using the Run Bash Script directive.