Is your feature request related to a problem? Please describe
I'd like to know when the commands I'm running are being run from a task
Specific Problem
If I run uds deploy from a Maru task, I'd like it to not use all the BubbleTea output and behave as if it were in CI; in order to do this, UDS CLI needs to know that it's being called inside a task
Describe the solution you'd like
Given a script running inside a task
When the task is run
Then the script has some mechanism of knowing that it's being run inside a task
Describe alternatives you've considered
To solve the specific uds run problem, we could just pass --no-tea as an argument to ./uds inside a task. This will work but requires a small change to Maru and its configuration to allow additional args to the mutated ./uds command
Add an env var (similar to how Maru currently does with architecture) indicating that the command is being run inside of a task. For example, MARU=true or something like that
IMO, option 2 seems simpler and more generic. Surely there are use cases outside of ./uds deploy where commands/scripts/etc would like to know they're being run from a task
Is your feature request related to a problem? Please describe
I'd like to know when the commands I'm running are being run from a task
Specific Problem
If I run
uds deploy
from a Maru task, I'd like it to not use all the BubbleTea output and behave as if it were in CI; in order to do this, UDS CLI needs to know that it's being called inside a taskDescribe the solution you'd like
Describe alternatives you've considered
To solve the specific
uds run
problem, we could just pass--no-tea
as an argument to./uds
inside a task. This will work but requires a small change to Maru and its configuration to allow additional args to the mutated./uds
commandAdd an env var (similar to how Maru currently does with architecture) indicating that the command is being run inside of a task. For example,
MARU=true
or something like thatAdditional context
Relates to https://github.com/defenseunicorns/uds-cli/issues/529