CommandSummary.sensitive_argument_count
Return the number of sensitive logical arguments.
Source and package
- Qualified name
-
libtmux::command:: Command Summary:: sensitive _argument _count - Module
- command
- Declared in
CommandSummary- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
-
Examples#
use libtmux::Command;let summary = Command::new("set-environment").sensitive_arg("secret").summary();assert_eq!(summary.sensitive_argument_count(), 1);