HomeSetup Developer Handbook
Applications handbook
Table of contents
Updater
“help”
Purpose
HomeSetup update manager.
Returns
0 if the command was successfully executed; non-zero otherwise.
Parameters
N/A
Examples
__hhs updater help
Output
usage: updater updater [option] {check,update,stamp}
_ _ _ _
| | | |_ __ __| | __ _| |_ ___ _ __
| | | | '_ \ / _` |/ _` | __/ _ \ '__|
| |_| | |_) | (_| | (_| | || __/ |
\___/| .__/ \__,_|\__,_|\__\___|_|
|_|
HomeSetup update manager.
arguments:
check : Fetch the last_update timestamp and check if HomeSetup needs to be updated.
update : Check for HomeSetup updates.
stamp : Stamp the next auto-update check for 7 days ahead.
“check”
Purpose
Fetch the last_update timestamp and check if HomeSetup needs to be updated.
Returns
0 if the command was successfully executed; non-zero otherwise.
Parameters
N/A
Examples
__hhs updater execute check
Output
N/A
“check”
Purpose
Check for HomeSetup updates.
Returns
0 if the command was successfully executed; non-zero otherwise.
Parameters
N/A
Examples
__hhs updater execute update
Output
Your version of HomeSetup is not up-to-date:
=> Repository: v1.6.19, Yours: v1.6.19
Would you like to update it now (y/[n])?
“stamp”
Purpose
Stamp the next auto-update check for 7 days ahead.
Returns
0 if the command was successfully executed; non-zero otherwise.
Parameters
N/A
Examples
__hhs updater execute stamp
Output
N/A