tink_cli
tink_cli copied to clipboard
Extend the prompt ?
Hi,
I'm not sure if it's related to #3, but I wanted to know if there is a plan to extend the Prompt capabilities? I'm not an Haxe macro expert so it's hard for me to try to match your style of code, but I've built a little sample to show you what I have in mind:
var author = CLI.ask("Author Name");
var mail = CLI.ask("What is your email adress", emailCallback);
var select = CLI.select(elements); // horizontal
var select = CLI.select(elements,true); // vertical
I'm cleaning the code a bit and I will create a public repo for it if you feel like guiding me on properly adding it to tink_cli!