Skip to content

feat: add workspace option#52

Merged
AstraBert merged 2 commits intomainfrom
clelia/workspace-optioon
Feb 16, 2026
Merged

feat: add workspace option#52
AstraBert merged 2 commits intomainfrom
clelia/workspace-optioon

Conversation

@AstraBert
Copy link
Copy Markdown
Member

  • Add a --workspace option to commands involving a workspace to avoid having to set it through env variable.
  • Adjust all paths related to the new workspace option to take a Option<&str> as workspace name

Comment thread src/cmds/search.rs
}
}

#[allow(clippy::too_many_arguments)]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lol oh no. Good to know :p

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah the baseline for clippy is max 7 arguments: I find it both kind of funny and really awesome that Rust is so opinionated to even have a limit on the number of parameters enforced in their linter

Copy link
Copy Markdown
Contributor

@logan-markewich logan-markewich 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! Also looks a tad annoying to drill down the option to everything lol

@AstraBert AstraBert merged commit 194a87c into main Feb 16, 2026
10 checks passed
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