{
"name": "env",
"description": "Set environment and execute command, or print environment",
"options": [
{
"names": [
"-0"
],
"description": "End each output line with NUL, not newline"
},
{
"names": [
"-i",
"-"
],
"description": "Start with an empty environment"
},
{
"names": [
"-v"
],
"description": "Print verbose logs"
},
{
"names": [
"-u"
],
"description": "Remove variable from the environment",
"takes_arg": true,
"arg": {
"name": "name"
}
},
{
"names": [
"-P"
],
"description": "Search the given directories for the utility, rather than the PATH",
"takes_arg": true,
"arg": {
"name": "altpath",
"template": "folders"
}
},
{
"names": [
"-S"
],
"description": "Split the given string into separate arguments",
"takes_arg": true,
"arg": {
"name": "string"
}
}
],
"args": [
{
"name": "name=value ...",
"description": "Set environment variables"
},
{
"name": "utility",
"description": "Utility to run"
}
]
}