Get argument at index parsed as i64.
(&self, index: usize)
| 53 | |
| 54 | /// Get argument at index parsed as i64. |
| 55 | pub fn arg_i64(&self, index: usize) -> Option<i64> { |
| 56 | self.arg_str(index).and_then(|s| s.parse().ok()) |
| 57 | } |
| 58 | |
| 59 | /// Number of arguments (excluding the command name). |
| 60 | pub fn argc(&self) -> usize { |
no test coverage detected