MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / hermes_selected_profile_targets

Function hermes_selected_profile_targets

src/agent_cmd.rs:218–228  ·  view source on GitHub ↗
(
    home: &Path,
    profile: &Option<String>,
    all_profiles: bool,
)

Source from the content-addressed store, hash-verified

216}
217
218pub(crate) fn hermes_selected_profile_targets(
219 home: &Path,
220 profile: &Option<String>,
221 all_profiles: bool,
222) -> tracedecay::errors::Result<Vec<Option<String>>> {
223 if all_profiles {
224 hermes_profile_targets(home)
225 } else {
226 Ok(vec![profile.clone()])
227 }
228}
229
230pub(crate) async fn handle_install_command(
231 agent: Option<String>,

Calls 1

hermes_profile_targetsFunction · 0.85