tink_cli icon indicating copy to clipboard operation
tink_cli copied to clipboard

Extend the prompt ?

Open melMass opened this issue 5 years ago • 2 comments

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:

tink_proposal+

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!

melMass avatar Feb 12 '20 16:02 melMass

Nice demo! It would be nice if you can post your source somewhere I can take it as an reference

kevinresol avatar Apr 30 '20 13:04 kevinresol

@melMass did you ever published this ?

danielo515 avatar May 20 '23 15:05 danielo515