@art-suite/art-prompt-for
v1.0.1
Published
Art.PromptFor - Wrapper for InquirerJs to make it even easier to write powerful CLI apps
Downloads
3
Readme
Art.Cli
Initialized by Art.Build.Configurator
Install
npm install art-cli
Example
# CaffeineScript
&@art-suite/cli.start
commands:
sing: ({song}) -> "♫ #{song} ♫!"
send-cheer: -> "May you have a holly, jolly Christmas this year!"
xmas: ({ santa, rudolph }) ->
[]
"Will Santa come this year?"
if santa > 0 then repeat("Ho! ", santa) else 'No Santa this year.'
if rudolph then "Rudolph's nose glows!" else 'No Rudolph this year.'
.join :\n