auth0 / wt-cli

Webtask CLI - all you need is code
https://webtask.io
MIT License
322 stars 72 forks source link

wt scaffold #5

Open woloski opened 9 years ago

woloski commented 9 years ago
wt scaffold auth0/webtasks/simple-express.js
wt scaffold woloski/dwh-webtask
wt scaffold
woloski commented 9 years ago

@bananaoomarang did we make any progress on this one?

bananaoomarang commented 9 years ago

Progress on this here.

Currently it only pulls from auth0/wt-cli/sample-webtasks, but should be easily extensible to read other repos/future db.

secrecy-1 0 3

secrecy-1 0 3

secrecy-1 0 3

woloski commented 9 years ago

This looks good to me as a starting point. At some point there will be a lot of these and the list will be hard to read, but I'd like to have that problem.

I would add the parsing of jsdoc here and show the description besides

attack-cpu: this webtask will do while(true) and exhaust CPU (demo purposes)
...

Doing the jsdoc integration will also allow us to ask for the secrets when doing the scaffolding.

bananaoomarang commented 9 years ago

Descriptions could use some work, and we should add more 'general use' templates, but:

ezgif com-gif-maker