Skip to main content

Crate upkit

Crate upkit 

Source

Re-exports§

pub use application::Cli;
pub use application::Commands;
pub use application::check_tool;
pub use application::check_tool_safe;
pub use application::check_tools_parallel;
pub use application::check_tools_with_spinner;
pub use application::clean_tool;
pub use application::ensure_dirs;
pub use application::main_entry;
pub use application::main_with;
pub use application::make_ctx;
pub use application::map_error_to_exit_code;
pub use application::report_has_error;
pub use application::run;
pub use application::run_doctor;
pub use application::run_self_update;
pub use application::run_version;
pub use application::select_kinds;
pub use application::tool_method;
pub use application::update_tool;
pub use domain::Status;
pub use domain::ToolKind;
pub use domain::ToolReport;
pub use domain::UpdateMethod;
pub use domain::Version;
pub use domain::keep_latest_version;
pub use domain::keep_latest_with_version;
pub use infrastructure::Ctx;
pub use infrastructure::DialoguerPrompt;
pub use infrastructure::HttpResponse;
pub use infrastructure::ProgressHandle;
pub use infrastructure::Prompt;
pub use infrastructure::colorize_status;
pub use infrastructure::data_local_dir;
pub use infrastructure::debug;
pub use infrastructure::download_to_temp;
pub use infrastructure::emit_json;
pub use infrastructure::ensure_clean_dir;
pub use infrastructure::error;
pub use infrastructure::expand_tilde;
pub use infrastructure::finish_spinner;
pub use infrastructure::get_env_var;
pub use infrastructure::home_dir;
pub use infrastructure::http_get;
pub use infrastructure::http_get_json;
pub use infrastructure::http_get_no_timeout;
pub use infrastructure::http_get_text;
pub use infrastructure::info;
pub use infrastructure::maybe_path_hint;
pub use infrastructure::maybe_path_hint_for_dir;
pub use infrastructure::print_json_error;
pub use infrastructure::print_reports;
pub use infrastructure::progress_allowed;
pub use infrastructure::progress_overwrite_allowed;
pub use infrastructure::prune_tool_versions;
pub use infrastructure::remove_path_hint_for_label;
pub use infrastructure::reports_to_json;
pub use infrastructure::run_capture;
pub use infrastructure::run_output;
pub use infrastructure::run_status;
pub use infrastructure::sleep_for;
pub use infrastructure::start_spinner;
pub use infrastructure::tool_bin_names;
pub use infrastructure::tool_path_hint_labels;
pub use infrastructure::warn;
pub use infrastructure::which_or_none;
pub use infrastructure::write_all_checked;

Modules§

application
domain
infrastructure
test_support
tools