wesng icon indicating copy to clipboard operation
wesng copied to clipboard

Allow updating definition with --definition --update

Open FalcoGer opened this issue 3 years ago • 1 comments

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.

FalcoGer avatar Dec 28 '21 22:12 FalcoGer

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 avatar Jan 10 '22 19:01 bitsadmin