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

Function command_fields

atomic-cli/src/commands/identity/register.rs:532–541  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

530
531 #[test]
532 fn command_fields() {
533 let cmd = Register {
534 server_url: "http://localhost:8080".to_string(),
535 identity: Some("alice".to_string()),
536 server_name: None,
537 };
538
539 assert_eq!(cmd.server_url, "http://localhost:8080");
540 assert_eq!(cmd.identity, Some("alice".to_string()));
541 }
542
543 #[test]
544 fn command_default_identity() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected