-
-
Notifications
You must be signed in to change notification settings - Fork 793
Closed
Description
Hi awesome team!
Request
Possibility to declare interactive inputs. Yeah budy! No less no more! #humor
Simple example
File: Taskfile.yaml
version: "2"
task:
aTaskWithInput:
inputs:
- foo
- bar
- bazHow to use?
$ task aTaskWithInput
$ foo
$ <input>
$ bar
$ <input>
$ baz
$ <input>Advanced example
File: Taskfile.yaml
version: "2"
task:
aTaskWithInput:
inputs:
foo:
required: true
bar:
default: "🍻"
desc: "Do you love beer?"
baz:
validator: "([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))"How to use?
$ task aTaskWithInput
$ foo (Is required)
$ <input>
$ Do you love beer? (default: 🍻)
$ <input>
$ baz (must validate: "([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))")
$ <input>Feedback need!
👍 OMG! I want this now!
😕 I don't know guy, it's cool but I can leave without!
👎 Please... I've a lot of work!
Implem' status
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels