Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow updating definition with --definition --update #60

Open
FalcoGer opened this issue Dec 28, 2021 · 1 comment
Open

Allow updating definition with --definition --update #60

FalcoGer opened this issue Dec 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@FalcoGer
Copy link

I wish to use a central definition.zip. I have made an alias to always run wes.py with --definition /some/path/to/file.zip.

However when --update is supplied, parse will throw errors about invalid arguments.

I'd like if arguments are allowed, in particular where --update will write the new definition to.
I'd also like if --color and other such tags were still allowed.

@bitsadmin
Copy link
Owner

If I remember correctly the --update parameter indeed doesn't support the --definition [path] parameter. What you could do as a workaround is to create two aliases:

Update
pushd /some/path/to; wes.py --update; popd

Check
wes.py --color --definition /some/path/to/file.zip systeminfo.txt

@bitsadmin bitsadmin added enhancement New feature or request and removed enhancement New feature or request labels Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants