Skip to main content

script invoke

Invokes (runs) a single script or a set of scripts

kreyac script invoke [--relative-to] [--test-report-junit] [Scripts]

Example​

kreyac script invoke my-script.krjs

Options​

relative-to​

--relative-to

Default: project

Determines the base path for resolving relative paths and globs. Accepted values: project, current-working-directory (alias: cwd)

test-report-junit​

--test-report-junit

Enables the JUnit test reporter and writes the JUnit report to the specified file

Arguments​

Scripts required multiple​

Paths of the scripts to be invoked, these could be directories, .krjs files or globs (e.g. './my-service/**'). Some shells expand globs automatically, so you should enclose them in quotes. Scripts are invoked in alphabetical order.