Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions crates/maa-cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ pub(crate) enum Command {
#[command(flatten)]
common: run::CommonArgs,
},
/// Run recruit task
Recruit {
#[command(flatten)]
params: run::preset::RecruitParams,
#[command(flatten)]
common: run::CommonArgs,
},
/// Convert file format between TOML, YAML and JSON
///
/// This command will convert a file from TOML, YAML or JSON format to another format.
Expand Down
1 change: 1 addition & 0 deletions crates/maa-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ fn main() -> Result<()> {
Command::Copilot { params, common } => run::run_preset(params, common)?,
Command::SSSCopilot { params, common } => run::run_preset(params, common)?,
Command::Reclamation { params, common } => run::run_preset(params, common)?,
Command::Recruit { params, common } => run::run_preset(params, common)?,
Command::Convert {
input,
output,
Expand Down
3 changes: 3 additions & 0 deletions crates/maa-cli/src/run/preset/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ pub use roguelike::RoguelikeParams;
mod reclamation;
pub use reclamation::ReclamationParams;

mod recruit;
pub use recruit::RecruitParams;

#[cfg(test)]
fn test_context() -> TaskContext<'static> {
use std::sync::LazyLock;
Expand Down
Loading