auth0 / wt-cli

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

wt create default message is confusing #18

Closed woloski closed 9 years ago

woloski commented 9 years ago

We've got feedback from @cristiandouce and @mgonto that they are not sure what to do with the webtask url on wt create.

So I suggest adding something like this:

$ wt create foo.js
webtask succesfuly created (in green)

        $ curl https://...../foo

unless we are in --watch mode

bananaoomarang commented 9 years ago

We could add one in the welcome message maybe, but doing this breaks being able to curl $(wt create ...) which is irritating for scripting.

woloski commented 9 years ago

Yes, maybe add a new modifier raw-url?

bananaoomarang commented 9 years ago

We could just show a message on the first wt create maybe? Adding a modifier to remove a tutorial message doesn't feel quite right, but maybe I'm being overcautious.

woloski commented 9 years ago

yes thought about doing that but also felt hackish. But let's try that.

bananaoomarang commented 9 years ago

It doesn't seem ideal to me either, we'd have to save something to ~/.webtask.cfg. I don't think it's unusual to track the first run in 'user friendly' tools though.