Function seaplane_cli::cli::validator::validate_name_id_path
source · [−]pub fn validate_name_id_path<F>(
name_validator: F,
s: &str
) -> StdResult<(), String>where
F: Fn(&str) -> StdResult<(), &'static str>,Expand description
The arg can be any of:
- name
- Local ID (32byte hex encoded string)
- @- (means STDIN)
- @path