balenaCLI helpers performs frequently executed tasks in order to keep things DRY.
For one-off commands, it's recommended to not use the helpers and instead directly use the
balenaCLI with the example explained below.
example
The core service where the test suites run already has balenaCLI installed. There is no need to
initalise the CLI class to run/execute any CLI command inside the tests. Instead use
balenaCLI helpers
balenaCLI helpers performs frequently executed tasks in order to keep things DRY. For one-off commands, it's recommended to not use the helpers and instead directly use the balenaCLI with the example explained below.
The core service where the test suites run already has balenaCLI installed. There is no need to initalise the
CLI
class to run/execute any CLI command inside the tests. Instead useTo get output from the commands being exectued, use the callback