mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
[CLI] Fix help for owmods setup
This commit is contained in:
parent
8277eeb490
commit
c58f0e1cf7
4
.github/workflows/release_cli.yml
vendored
4
.github/workflows/release_cli.yml
vendored
@ -40,10 +40,14 @@ jobs:
|
|||||||
id: get_version
|
id: get_version
|
||||||
run: echo "version=$(cargo run --release -q -p owmods_cli version)" >> $GITHUB_OUTPUT
|
run: echo "version=$(cargo run --release -q -p owmods_cli version)" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }}
|
||||||
|
|
||||||
- name: Generate Dist Folder
|
- name: Generate Dist Folder
|
||||||
if: matrix.platform == 'ubuntu-20.04'
|
if: matrix.platform == 'ubuntu-20.04'
|
||||||
run: cargo xtask dist_cli
|
run: cargo xtask dist_cli
|
||||||
|
env:
|
||||||
|
ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }}
|
||||||
|
|
||||||
- name: Archive Dist Files
|
- name: Archive Dist Files
|
||||||
if: matrix.platform == 'ubuntu-20.04'
|
if: matrix.platform == 'ubuntu-20.04'
|
||||||
|
|||||||
@ -23,7 +23,7 @@ pub struct BaseCli {
|
|||||||
pub enum Commands {
|
pub enum Commands {
|
||||||
#[command(about = "Print Version")]
|
#[command(about = "Print Version")]
|
||||||
Version,
|
Version,
|
||||||
#[command(about = "Install/Update OWML (default installs to %APPDATA%/ow-mod-man/OWML)")]
|
#[command(about = "Install/Update OWML")]
|
||||||
Setup {
|
Setup {
|
||||||
owml_path: Option<PathBuf>,
|
owml_path: Option<PathBuf>,
|
||||||
#[arg(
|
#[arg(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user