Skip to content

Commit

Permalink
Update a few phrases for mise install (#1712)
Browse files Browse the repository at this point in the history
* Update a few phrases for mise install

* fixup! Update a few phrases for mise install

---------

Co-authored-by: Erick Guan <[email protected]>
Co-authored-by: Erick Guan <[email protected]>
  • Loading branch information
3 people authored Mar 20, 2024
1 parent 9153411 commit 283967e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/cli/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ use crate::ui::multi_progress_report::MultiProgressReport;

/// Install a tool version
///
/// This will install a tool version to `~/.local/share/mise/installs/<PLUGIN>/<VERSION>`
/// It won't be used simply by being installed, however.
/// For that, you must set up a `.mise.toml`/`.tool-version` file manually or with `mise use`.
/// Or you can call a tool version explicitly with `mise exec <TOOL>@<VERSION> -- <COMMAND>`.
/// Installs a tool version to `~/.local/share/mise/installs/<PLUGIN>/<VERSION>`
/// Installing alone will not activate the tools so they won't be in PATH.
/// To install and/or activate in one command, use `mise use` which will create a `.mise.toml` file
/// in the current directory to activate this tool when inside the directory.
/// Alternatively, run `mise exec <TOOL>@<VERSION> -- <COMMAND>` to execute a tool without creating config files.
///
/// Tools will be installed in parallel. To disable, set `--jobs=1` or `MISE_JOBS=1`
#[derive(Debug, clap::Args)]
Expand All @@ -39,6 +40,8 @@ pub struct Install {
raw: bool,

/// Show installation output
///
/// This argument will print plugin output such as download, configuration, and compilation output.
#[clap(long, short, action = clap::ArgAction::Count)]
verbose: u8,
}
Expand Down

0 comments on commit 283967e

Please sign in to comment.