Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
(e: atomic_remote::RemoteError)
| 205 | |
| 206 | /// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`]. |
| 207 | pub fn remote_err(e: atomic_remote::RemoteError) -> CliError { |
| 208 | CliError::RemoteError { |
| 209 | message: e.to_string(), |
| 210 | url: None, |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | /// Resolve the org slug for a command, with fallback to the configured default. |
| 215 | /// |
no outgoing calls