From fdef03a6176461256ad2b165008131d63582add9 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 8 Mar 2023 10:04:12 +0100 Subject: Split pull functionality into its own subcommand --- lib/main.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/main.bash') diff --git a/lib/main.bash b/lib/main.bash index 12033db..d8d4cc4 100644 --- a/lib/main.bash +++ b/lib/main.bash @@ -80,6 +80,7 @@ Usage: $BASHTARD_NAME diff $BASHTARD_NAME init [repository] $BASHTARD_NAME pkg + $BASHTARD_NAME pull $BASHTARD_NAME ssh $BASHTARD_NAME sync [playbook] $BASHTARD_NAME sysinfo @@ -90,10 +91,11 @@ Perform maintenance on your infra. Commands: add Add a configuration playbook to this machine. - init Initialize the $BASHTARD_NAME configuration system. - pkg Interface into the pkg abstraction used by $BASHTARD_NAME. del Remove a configuration playbook from this machine. diff Show a diff of all uncommitted changes. + init Initialize the $BASHTARD_NAME configuration system. + pkg Interface into the pkg abstraction used by $BASHTARD_NAME. + pull Pull the latest changes through git. ssh Run a given command on all known hosts. sync Pull latest changes through git, and synchronize all added playbooks. -- cgit v1.1