8000 Add memory limit option to CLI by paulgb · Pull Request #131 · jamsocket/forevervm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add memory limit option to CLI #131

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

paulgb
Copy link
Member
@paulgb paulgb commented Mar 14, 2025

This change adds support for specifying memory limits in megabytes when creating a new machine via the CLI. The API already had support for this parameter, but it was not exposed in the command-line interface.

🤖 Generated with Claude Code
Co-Authored-By: Claude

This change adds support for specifying memory limits in megabytes when creating a new machine via the CLI. The API already had support for this parameter, but it was not exposed in the command-line interface.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@paulgb paulgb marked this pull request as ready for review March 24, 2025 18:28
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

@@ -67,6 +67,10 @@ enum MachineCommands {
/// Add tags to the machine in the format key=value
#[arg(long = "tag", value_parser = parse_key_val, action = clap::ArgAction::Append)]
tags: Option<Vec<(String, String)>>,

/// Memory size in MB (if not specified, a default value will be used)
Copy link
Member

Choose a reason for hiding this comment

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

Worth saying what the default is? Or is that risky in case it changes later?

Copy link
Member
@rolyatmax rolyatmax left a comment

Choose a reason for hiding this comment

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

Small comment, no blockers. LGTM

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.

2 participants
0