feat: add flags support

This commit is contained in:
Simon Lecoq
2023-11-08 00:09:11 +00:00
committed by GitHub
parent bd3e9cb3a4
commit e13766ac57
5 changed files with 164 additions and 10 deletions

View File

@@ -64,6 +64,22 @@
}
}
},
"demo:flags": {
"description": "🎬 Demo: flags",
"task": "echo '$<foo> $<bar>'",
"flags": {
"foo": {
"alias": "f",
"required": true,
"description": "Example of a required flag"
},
"bar": {
"alias": "b",
"default": "bar",
"description": "Example of a standard flag"
}
}
},
"ci": {
"description": "🤖 CI checks",
"task": [