"foo.yaml", flag, ]; if let Some(value) = value { args.push(value); } assert!(Arguments::try_parse_from(args) .unwrap_err() .to_string() .contains("the argument '--batch <BATCH>' cannot be used with")); } } #[test] fn batch_or_file_is_required() { assert!( Arguments::try_parse_from(["ord", "wallet", "inscribe", "--fee-rate", "1",]) .unwrap_err() .to_string() .contains("error: the following required arguments were not provided:\n <--file <FILE>|--batch <BATCH>>") ); } }
Inscription number 44,989,162
Genesis block 819,068
File type text
File size 600 b
Creation date Nov 30,2023 3:4 am