cquill/cli/generate

Types

Result of the generate command

pub type GenerateResult {
  GenerateSuccess(files_generated: Int)
  GenerateError(message: String)
}

Constructors

  • GenerateSuccess(files_generated: Int)

    Generation completed successfully

  • GenerateError(message: String)

    Generation failed with an error

Values

pub fn run(options: args.GenerateOptions) -> GenerateResult

Execute the generate command with the given options

pub fn watch(options: args.GenerateOptions) -> Nil

Run in watch mode, regenerating on schema changes

Search Document