Skip to main content

Crate cli_shared

Crate cli_shared 

Source
Expand description

CLI-side utilities shared between the OSS cli crate and the closed hosted-client crate.

These items would create a circular dependency if they stayed in cli (which depends on hosted-client when the hosted-client feature is on, and hosted-client needs UserConfig / RemoteTarget / ClientConfig). Pulling them out lets both sides resolve cleanly.

Re-exports§

pub use client_config::ClientConfig;
pub use config::UserConfig;
pub use remote::Remote;
pub use remote::RemoteConfig;
pub use remote::RemoteTarget;
pub use remote::resolve_remote_with_key;

Modules§

client_config
Client configuration.
config
remote
Remote configuration management.