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

Add CLI command for printing logs from sandbox #327

Merged
merged 35 commits into from
May 1, 2024
Merged

Add CLI command for printing logs from sandbox #327

merged 35 commits into from
May 1, 2024

Conversation

ValentaTomas
Copy link
Member

@ValentaTomas ValentaTomas commented Mar 5, 2024

This PR adds the CLI command for printing logs for any sandbox you spawned.

Tasks:

  • Add flag for specifying format (json)
    • Update docs
  • Add flag for filtering level
    • Update docs
  • Add flag for "following"
    • Update docs
    • Test
  • Filter internal and "user" — rename logger field
    • Test usability
    • Update docs

Copy link

changeset-bot bot commented Mar 5, 2024

🦋 Changeset detected

Latest commit: 407358f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@e2b/cli Minor
@e2b/python-sdk Minor
e2b Minor

Not sure what this means? Click here to learn what changesets are.

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

spec/openapi.yml Outdated Show resolved Hide resolved
apps/docs/src/app/cli/commands/page.mdx Show resolved Hide resolved
apps/docs/src/app/cli/commands/page.mdx Show resolved Hide resolved
packages/cli/src/commands/sandbox/logs.ts Show resolved Hide resolved
ValentaTomas and others added 2 commits April 5, 2024 16:29
Co-authored-by: Jakub Novák <jakub@e2b.dev>
@ValentaTomas
Copy link
Member Author

I'll also check alternative sorting of the log keys to print the message first.

@ValentaTomas ValentaTomas merged commit 4a43675 into main May 1, 2024
1 of 3 checks passed
@ValentaTomas ValentaTomas deleted the logs branch May 1, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🚢 Shipped
Development

Successfully merging this pull request may close these issues.

None yet

2 participants