-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(config)!: move strategies downwards
- choice of a strategy is not global anymore but is now specific to commands save, list, restore - default strategy is now most-recent, with n = 10 In practice, this means the following commands work out of the box ```sh tmux-backup catalog list tmux-backup save tmux-backup restore ``` but they can take strategy options: ```sh tmux-backup catalog -n 12 list tmux-backup save -s classic tmux-backup save -n 13 --compact tmux-backup restore -s most-recent -n 18 ```
- Loading branch information
Showing
3 changed files
with
114 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters