]> Untitled Git - bdk-cli/commit
refactor(compile): use ValueEnum for script type
authorIkeh Celestine Chukwudi <Chukwudi.ikeh.232330@unn.edu.ng>
Fri, 9 Oct 2026 10:17:58 +0000 (11:17 +0100)
committerIkeh Celestine Chukwudi <Chukwudi.ikeh.232330@unn.edu.ng>
Fri, 9 Oct 2026 10:17:58 +0000 (11:17 +0100)
commit36e41a3afa66f575955bf81c62b91dd32e43a9e5
tree1ee993d8b3a3de8c7674ca3208b82874fcb6f8be
parent4f4d8cafb3dd6a449aa587e520ece781128f0904
refactor(compile): use ValueEnum for script type

Replace the String script_type in CompileCommand with a ScriptType enum deriving clap::ValueEnum. The match in execute is now exhaustive, so the unreachable fallback arm is removed. No CLI behavior change.
src/handlers/descriptor.rs