Specifically, when trying to use $HOSTNAME as an argument, there is no value set:
[tasks.test]
usage = '''
arg "[host]" env="HOSTNAME" default="localhost"
'''
run = ["echo $HOSTNAME", "echo ${usage_host}"]
This outputs:
❯ mise tasks run test
[test] $ echo $HOSTNAME
wendigo
[test] $ echo ${usage_host}
localhost
From the documentation, I would expect it to set usage_host to be 'wendigo' unless I set it as a positional argument.
Specifically, when trying to use
$HOSTNAMEas an argument, there is no value set:This outputs:
From the documentation, I would expect it to set
usage_hostto be 'wendigo' unless I set it as a positional argument.