You can change the default configuration for the generated applications using a configuration file. This is especially useful for features that use the same settings across multiple applications, like homebrew, where the homebrew tap repository is the same for all applications.

The configuration file is located under ~/.config/.cligen.yaml under macOS and linux.

You can modify the file directly, or use the cligen configure command to follow a wizard taking you through each of the configuration options.

Configuration options

OptionDescription
homebrew.enabledIf the homebrew feature will automatically be enabled in the prompt
homebrew.repoThe repository containing the homebrew tap, e.g. homebrew-tap. Needs to follow the naming convention homebrew-* for homebrew commands to work
homebrew.github_usernameThe username or organisation name for the github repository

Example configuration file

  homebrew:
    enabled: true
    repo: homebrew-tap
    github_username: twinsnes