89fdb27d6c25ef5a89fa32adf269dd25f0c950cf
Refactor command registry to use prototype-based registration instead of string-based names. This makes the API more consistent and type-safe. Changes: - Changed Cmd::name() to return &'static str instead of &str - Updated CmdRegistry::register, register_pure, and register_nullary to accept prototype command instances instead of string names - Added NamedCmd helper struct for cases where command is built by closure - Updated all command implementations to return static string literals - Modified EnterMode::execute to clear buffers when entering text-entry modes Co-Authored-By: fiddlerwoaroof/git-smart-commit (unsloth/Qwen3.5-35B-A3B-GGUF:Q5_K_M)
Description
No description provided
Languages
Rust
99.1%
Python
0.6%
Nix
0.3%