001package co.codewizards.cloudstore.client;
002
003import co.codewizards.cloudstore.core.updater.CloudStoreUpdaterCore;
004import co.codewizards.cloudstore.core.updater.Version;
005
006/**
007 * <p>
008 * {@link SubCommand} implementation being called after an update.
009 *
010 * @author Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
011 */
012public class AfterUpdateHookSubCommand extends SubCommand {
013
014        @Override
015        public String getSubCommandDescription() {
016                return "Callback hook being invoked after an update.";
017        }
018
019        @Override
020        public void run() throws Exception {
021                System.out.println("Update completed! New local version: " + VersionSubCommand.getVersion());
022        }
023
024        @Override
025        public boolean isVisibleInHelp() {
026                return false;
027        }
028}