bitsadmin/wesng

Allow updating definition with --definition --update

Opened this issue · 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.

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