-
Notifications
You must be signed in to change notification settings - Fork 70
feat(compute/init): allow --from to take a service ID #1187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
15ca3ae to
b8c2b8d
Compare
|
@Integralist I'm pretty sure I've caught all the unused bits and addressed all the feedback, mind taking another look? |
Integralist
left a comment
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.
LGTM. Going to approve for now, but would be nice to find a better package for IsFastlyID. I agree compute isn't the right place but I don't think argparser is either. Might have to be some other package like https://github.com/fastly/cli/blob/main/pkg/text/service.go (in my head I'm thinking text is about handling text input/output and so could make sense to be here)
The '--from' argument to 'fastly compute init' now accepts a Fastly Service ID, which must refer to an existing compute service with an uploaded binary package. The fastly.toml manifest will be populated with details from this existing service.
59ba316 to
71f5b2e
Compare
The '--from' argument to 'fastly compute init' now accepts a Fastly
Service ID, which must refer to an existing compute service. The
fastly.toml manifest will be populated with details from this existing
service.