-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fn: improve UX and publish/deploy command #359
Conversation
9bf4ce9
to
093873e
Compare
@treeder @pedronasser @seiflotfy I have extensively checked and updated the documentation on this change. Please review, critique and merge if OK. |
# Create a route to this function on IronFunctions | ||
fn routes create myapp /hello | ||
fn deploy myapp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we were discussing that deploy would be more of a bulk operation only, for when you setup an entire app structure? What path would be used here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. fixing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deploy should only be used to deploy an entire app structure (recursively). And I think we were still discussing what the command name should be to avoid confusion. Something that says that it's a bulk deploy or a full app deploy.
# Create a route to this function on IronFunctions | ||
fn routes create myapp /hello | ||
fn deploy myapp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still be push and routes create, not deploy.
# Create a route to this function on IronFunctions | ||
fn routes create slackbot /guppy | ||
fn deploy slackbot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
Fixes #352
Partially addresses #364