Skip to main content

Global options - Kreya CLI

Global options can be applied to every kreyac command. The Kreya configuration also applies to kreyac.

Options

verbose

-v, --verbose
Can also be set via the environment variable KREYA_VERBOSE
Default: false

Show verbose output

project

-p, --project
Can also be set via the environment variable KREYA_PROJECT
Default: .

The Kreya project to work on

disable-telemetry

--disable-telemetry
Can also be set via the environment variable KREYA_DISABLETELEMETRY
Default: false

Disable telemetry

Flags files / response files

Response files allow you to specify command-line arguments in a file instead of passing them directly in the terminal. This can be useful for commands with many options or for reusing configurations.

To use a response file with kreyac, create a file containing the desired options and prefix the file path with @ when running the command. For example:

kreyac @options.txt

Contents of options.txt:

operation invoke
grpc/**
!grpc/not-tested
rest/**
!rest/not-tested