Skip to main content

Generating components

We can generate components using:

sapphire generate <component> <name>
  • component: Component name, can be a default one or a custom one
  • name: Name of the created component, e.g. the name of your command

Example:

sapphire generate command HelloWorld

Default components

  • command
  • listener
  • argument
  • precondition