You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
780 B
43 lines
780 B
#![warn(rust_2018_idioms, clippy::all, clippy::pedantic)] |
|
#![allow( |
|
clippy::enum_variant_names, |
|
clippy::large_enum_variant, |
|
clippy::module_name_repetitions, |
|
clippy::similar_names |
|
)] |
|
|
|
mod alias; |
|
mod arch; |
|
mod archive; |
|
mod choose_version_for_user_input; |
|
mod cli; |
|
mod commands; |
|
mod config; |
|
mod current_version; |
|
mod directory_portal; |
|
mod downloader; |
|
mod fs; |
|
mod http; |
|
mod installed_versions; |
|
mod lts; |
|
mod path_ext; |
|
mod remote_node_index; |
|
mod shell; |
|
mod system_info; |
|
mod system_version; |
|
mod user_version; |
|
mod user_version_reader; |
|
mod version; |
|
mod version_file_strategy; |
|
mod version_files; |
|
|
|
#[macro_use] |
|
mod log_level; |
|
mod default_version; |
|
mod directories; |
|
|
|
fn main() { |
|
env_logger::init(); |
|
let value = crate::cli::parse(); |
|
value.subcmd.call(value.config); |
|
}
|
|
|