MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / parse_credential_expiry_cli_value

Function parse_credential_expiry_cli_value

crates/openshell-cli/src/run.rs:4057–4059  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

4055}
4056
4057pub fn parse_credential_expiry_cli_value(value: &str) -> std::result::Result<i64, String> {
4058 parse_credential_expiry_value(value, None).map_err(|err| err.to_string())
4059}
4060
4061fn credential_expiry_value_error(key: Option<&str>, detail: &str) -> miette::Report {
4062 key.map_or_else(

Calls 1