-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: main
Are you sure you want to change the base?
Conversation
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>
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.
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) |
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.
Worth saying what the default is? Or is that risky in case it changes later?
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.
Small comment, no blockers. LGTM
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