command.CommandSummary.argument_count
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- command
- Declared in
- CommandSummary
- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
-
Return the number of logical arguments after the subcommand.
Examples
use libtmux::Command;let summary = Command::new("set-option").arg("-g").arg("mouse").summary();assert_eq!(summary.argument_count(), 2);
0 declared, 0 inherited