Skip to content
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

feat: add seam cli code samples #58

Merged
merged 8 commits into from
Aug 13, 2024
Merged

feat: add seam cli code samples #58

merged 8 commits into from
Aug 13, 2024

Conversation

mikewuu
Copy link
Contributor

@mikewuu mikewuu commented Aug 12, 2024

closes #49

Here's what this generates.

CleanShot 2024-08-13 at 00 54 04@2x

Is there anything else required for #49?

@mikewuu mikewuu requested a review from a team as a code owner August 12, 2024 15:58
Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blueprint ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 13, 2024 7:29am

src/lib/code-sample/bash.ts Outdated Show resolved Hide resolved
src/lib/code-sample/bash.ts Outdated Show resolved Hide resolved
src/lib/code-sample/schema.ts Outdated Show resolved Hide resolved
src/lib/code-sample/schema.ts Outdated Show resolved Hide resolved
@@ -79,6 +80,11 @@ export const createCodeSample = (
request: createPhpRequest(codeSampleDefinition, context),
response: createPhpResponse(codeSampleDefinition, context),
},
bash: {
title: 'Bash',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title: 'Bash',
request_syntax: 'bash',
response_syntax: 'json',

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated in 0b1f37a

src/lib/code-sample/schema.ts Show resolved Hide resolved
src/lib/code-sample/schema.ts Outdated Show resolved Hide resolved
src/lib/code-sample/schema.ts Show resolved Hide resolved
title: 'Ruby',
},
seam_cli: {
request: 'seam foos get --foo_id ""8d7e0b3a-b889-49a7-9164-4b71a0506a33""',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what's going on with the double "".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 4ae96fd

@mikewuu mikewuu merged commit f41c469 into main Aug 13, 2024
19 checks passed
@mikewuu mikewuu deleted the add-cli branch August 13, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Seam CLI code samples
3 participants