Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
(e: atomic_remote::RemoteError)
| 132 | |
| 133 | /// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`]. |
| 134 | pub fn remote_err(e: atomic_remote::RemoteError) -> CliError { |
| 135 | CliError::RemoteError { |
| 136 | message: e.to_string(), |
| 137 | url: None, |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | /// Resolve the org slug for a command, with fallback to the configured default. |
| 142 | /// |
no outgoing calls