MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_enable_with_force_flag

Function test_enable_with_force_flag

atomic-cli/src/commands/agent/enable.rs:755–767  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

753
754 #[test]
755 fn test_enable_with_force_flag() {
756 let cmd = Enable {
757 agent: Some("claude-code".to_string()),
758 force: true,
759 all: false,
760 hooks: None,
761 from: None,
762 from_skills: None,
763 agents_md: false,
764 };
765 assert!(cmd.force);
766 assert_eq!(cmd.agent.as_deref(), Some("claude-code"));
767 }
768
769 #[test]
770 fn test_enable_with_all_flag() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected