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

Added publish/unpublish commands to the CLI #484

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

mishushakov
Copy link
Member

@mishushakov mishushakov commented Nov 29, 2024

Adds publish/unpublish commands to the CLI to allow changing the visibility of templates. Publishing a template makes it visible to other teams using E2B, while setting it private (default) only makes it visible within your own team.

example usage:

e2b template publish <template>
e2b template unpublish <template>

Copy link

changeset-bot bot commented Nov 29, 2024

⚠️ No Changeset found

Latest commit: 11e1c7d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mishushakov mishushakov requested review from mlejva and 0div November 29, 2024 13:52
Copy link
Member

@mlejva mlejva left a comment

Choose a reason for hiding this comment

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

This looks good to me usage-wise. Let's wait for @jakubno's or @ValentaTomas's review and we can publish it

@ValentaTomas
Copy link
Member

As @jakubno mentioned, this is waiting for the deployment of the new API, so the used endpoints are available.

Copy link
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

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

I will merge it after we deploy API today

@jakubno jakubno merged commit 407f330 into main Dec 9, 2024
3 checks passed
@jakubno jakubno deleted the publish-unpublish branch December 9, 2024 08:51
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.

4 participants