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(forge): --profile to set the profile via CLI #9427

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yash-atreya
Copy link
Member

@yash-atreya yash-atreya commented Nov 28, 2024

Motivation

Closes #5479

Solution

Introduces the --profile flag in CoreBuildArgs


/// Profile to use for compiling the project.
#[arg(long)]
pub profile: Option<Profile>,
Copy link
Member

Choose a reason for hiding this comment

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

I think we can have this in the global args and make it initialize Config::selected_profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

feat(forge): allow specifying profile through --profile
2 participants