Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
(e: atomic_remote::RemoteError)
| 295 | |
| 296 | /// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`]. |
| 297 | pub fn remote_err(e: atomic_remote::RemoteError) -> CliError { |
| 298 | CliError::RemoteError { |
| 299 | message: e.to_string(), |
| 300 | url: None, |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | /// Resolve the org slug for a command, with fallback to the configured default. |
| 305 | /// |
no outgoing calls