More comprehensive exit codes, drive connect/disconnect aliases
Now VPN or drive errors within the upv-cli tool return non-zero exit codes. This should help with scripting to differentiate between total success, program failures/errors or errors within the VPN/drive internal commands (Add-VpnConnection, rasdial, net use...).
Also, upv drive now contains new aliases:
connect: alias formountdisconnect: alias forunmount
The upv command now returns the following exit codes:
0: Success
General errors:
These errors are common to all commands and indicate general issues:
1: General error (the program failed)2: Invalid command or argument (parsing error)
Specific upv-cli errors:
These errors are specific to the upv-cli tool and typically indicate issues with VPN or drive operations:
10: Generic upv-cli error11: VPN error12: Drive error13: Drive in use error (files or folders are open on the drive)