Add env and restore commands #11

Merged
jolheiser merged 2 commits from restore into main 2020-11-30 05:16:25 +00:00
Owner
  1. Adds tmpl env and tmpl restore

  2. Refactors the update code to push the logic further internal.
    This allows less duplication in the restore command.

  3. Makes a semi-breaking change to the TOML format of the registry, but at worst would make list seem off.

  4. Checks whether a template exists with a name before downloading/saving.

1. Adds `tmpl env` and `tmpl restore` 2. Refactors the update code to push the logic further internal. This allows less duplication in the `restore` command. 3. Makes a semi-breaking change to the TOML format of the registry, but at worst would make `list` seem off. 4. Checks whether a template exists with a name before downloading/saving.
jolheiser added 2 commits 2020-11-30 05:14:35 +00:00
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Check for existance
All checks were successful
continuous-integration/drone/pr Build is passing
2f4cfcd25d
Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser merged commit 19edb3a580 into main 2020-11-30 05:16:25 +00:00
jolheiser deleted branch restore 2020-11-30 05:16:31 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jolheiser/tmpl#11
No description provided.