Adding support for plt clone/switch pallet_path@, plt clone/switch @version_query, and plt clone/switch @ which complete the omitted pallet path and/or version query based on last used values (tracked in a new config file at ~/.config/forklift/pallet-upgrades.yml`.
Adding a plt upgrade subcommand which behaves like plt switch @ but also shows information about the upgrade to be performed.
Adding plt show-upgrade-query and plt set-upgrade-query subcommands to query and modify the query to be used for plt upgrade.
Adding a plt show-upgrade command which shows whether an upgrade is available.
In order to prevent upgrades from causing unplanned loss of user changes, this PR also resolves #229 by adding some basic checks for un-committed/un-pushed user changes in plt switch and plt upgrade.
This PR closes #246 by:
plt clone/switch pallet_path@
,plt clone/switch @version_query
, andplt clone/switch @
which complete the omitted pallet path and/or version query based on last used values (tracked in a new config file at ~/.config/forklift/pallet-upgrades.yml`.plt upgrade
subcommand which behaves likeplt switch @
but also shows information about the upgrade to be performed.plt show-upgrade-query
andplt set-upgrade-query
subcommands to query and modify the query to be used forplt upgrade
.plt show-upgrade
command which shows whether an upgrade is available.In order to prevent upgrades from causing unplanned loss of user changes, this PR also resolves #229 by adding some basic checks for un-committed/un-pushed user changes in
plt switch
andplt upgrade
.