-
Notifications
You must be signed in to change notification settings - Fork 25
feat: quickstart --from flag #1291
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
4a733f9
to
1f3be6e
Compare
@@ -116,6 +120,11 @@ func quickstartExec(ctx context.Context, flags QuickstartFlags) error { | |||
quickstartObj.Defaults.TargetType = &flags.TargetType | |||
} | |||
|
|||
if flags.From != "" { | |||
quickstartObj.Defaults.Blueprint = &flags.From | |||
quickstartObj.IsUsingBlueprint = true |
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.
Blueprint isn't super descriptive?
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 would be cleaner if we didn't have this special case, instead if we're using the from argument -> set the schema URL https://app.speakeasy.com/v1/schema/store/{ID}
1f3be6e
to
e5940f1
Compare
What
Introduces a new
--from
flag tospeakeasy quickstart
which will allow for easier handoff from the Speakeasy Sandbox to the CLI:Demo
CleanShot.2025-03-05.at.15.44.47.mp4
CleanShot.2025-03-05.at.15.47.06.mp4