Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
(e: atomic_remote::RemoteError)
| 223 | |
| 224 | /// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`]. |
| 225 | pub fn remote_err(e: atomic_remote::RemoteError) -> CliError { |
| 226 | CliError::RemoteError { |
| 227 | message: e.to_string(), |
| 228 | url: None, |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | /// Resolve the org slug for a command, with fallback to the configured default. |
| 233 | /// |
no outgoing calls