Arguments

This section will explain the various bracket and argument types used for command arguments. Command arguments are anything that goes in the brackets <> and {} of a command.

Bracket Types

The bracket around an argument indicates whether the argument is required (must be included) or optional (can be included, but not required). There are three types of brackets that we use for Ocavy:

  • <> - This argument is required, it must be included.

  • {} - This argument is optional, it can be included but not required.

  • () - This holds enum values for the argument, one option must be picked and specified.

Do not include the brackets (<>, {} and ()) when using a command.

Argument Types

Pairs

Last updated