You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by arcticShadow February 2, 2025
I'll start by saying this is probably something that i've done wrong - but as yet i cant find out what.
I was happily using file based tasks, and adding usage spec'd stuff to them to create nifty helper utils. now none of my existing or new scripts are working. the tasks is run, but the usage spec isn't being applied and as a result no flags are being passed in to my script.
Not sure where to start looking for answers.
i have tried with and without usage installed as a tool in my project.
The task i'm working with at present is a node task
#!/usr/bin/env node
//MISE description="Compare block IDs between grower and packer tenants"
//USAGE flag "-g --grower <growerTenant>" required=#true multiple=#true help="The grower tenant ID(s) to compare"
//USAGE flag "-p --packer <packerTenant>" required=#true help="The packer tenant ID to match against"
//USAGE flag "-v --verbose" help="Enable verbose logging"
console.log(process.env.usage_grower);
console.log(process.env.usage_packer);
console.log(process.env);
process.exit(0);
mise doctor:
Details
version: 2025.2.0 macos-arm64 (2025-02-02)
activated: yes
shims_on_path: no
Discussed in #4294
Originally posted by arcticShadow February 2, 2025
I'll start by saying this is probably something that i've done wrong - but as yet i cant find out what.
I was happily using file based tasks, and adding usage spec'd stuff to them to create nifty helper utils. now none of my existing or new scripts are working. the tasks is run, but the usage spec isn't being applied and as a result no flags are being passed in to my script.
Not sure where to start looking for answers.
i have tried with and without
usage
installed as a tool in my project.The task i'm working with at present is a node task
mise doctor:
Details
The text was updated successfully, but these errors were encountered: