Corsinvest / cv4pve-autosnap

Automatic snapshot tool for Proxmox VE
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
413 stars 51 forks source link

There is no show version key. #24

Closed GusevVictor closed 5 years ago

GusevVictor commented 5 years ago

Hi! Nice to see a new version. Thank you! Because you don't have a deb verison of v1.3.0 I have download binary like this:

wget https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.3.0/cv4pve-autosnap-linux-x64.zip

root@osboxes:/tmp# cv4pve-autosnap -?

    ______                _                      __
   / ____/___  __________(_)___ _   _____  _____/ /_
  / /   / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
 / /___/ /_/ / /  (__  ) / / / / |/ /  __(__  ) /_
 \____/\____/_/  /____/_/_/ /_/|___/\___/____/\__/

Automatic snapshot VM/CT with retention        (Made in Italy)

Automatic snapshot VM/CT with retention

Usage: cv4pve-autosnap [options] [command]

Options:
  -?|-h|--help  Show help information
  --host        The host name host[:port]
  --username    User name <username>@<realm>
  --password    The password. Specify 'file:path_file' to store password in file.
  --vmid        The id or name VM/CT comma separated (eg. 100,101,102,TestDebian)
                -vmid or -name exclude (e.g. -200,-TestUbuntu)
                'all-???' for all VM/CT in specific host (e.g. all-pve1, all-\$(hostname)),
                'all' for all VM/CT in cluster

Commands:
  clean         Remove auto snapshots
  snap          Will snap one time
  status        Get list of all auto snapshots

Run 'cv4pve-autosnap [command] --help' for more information about a command.

Report bugs to support@corsinvest.it

I think there is need a key for show verison of program. It can be -V or --version

Best regards, Viktor.

franklupo commented 5 years ago

Hi, in the new version it is not necessary to install anything, just unzip the file and go. Don't you like this mode?

Show version is a good idea.

Best regards

GusevVictor commented 5 years ago

Hi, in the new version it is not necessary to install anything, just unzip the file and go. Don't you like this mode?

Show version is a good idea.

Best regards

Hi! What about any dependencies in a new version? Do I need install some other soft or a new static version is all included for run? :)

Yep. Because we don't have any deb package now. In a new version help key is need for determinate current binary file.

Thank for you job!

Thank.

franklupo commented 5 years ago

Hi! What about any dependencies in a new version? Do I need install some other soft or a new static version is all included for run? :)

Yep. Because we don't have any deb package now. In a new version help key is need for determinate current binary file.

Thank for you job!

Thank.

There are no dependencies the file contains everything. In the next version there will be a --version option.

Best regards

franklupo commented 5 years ago

New version released