diff --git a/codegenerator/rust_cli.py b/codegenerator/rust_cli.py index b4d5f91..cd637d8 100644 --- a/codegenerator/rust_cli.py +++ b/codegenerator/rust_cli.py @@ -1102,7 +1102,9 @@ class RustCliGenerator(BaseGenerator): context = { "operation_id": operation_id, "operation_type": args.operation_type, - "operation_name": args.operation_name, + "operation_name": ( + args.operation_name or args.operation_type + ).lower(), "command_description": common_rust.sanitize_rust_docstrings( command_description ),

AltStyle によって変換されたページ (->オリジナル) /