dodot-lib 4.1.1

Core library for dodot dotfiles manager
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{%- if outcome == "created" -%}
[message]Installed pre-commit hook at {{ hook_display_path }}[/message]
  [muted]Every `git commit` now runs:[/muted]
    [usage]{{ command_line }}[/usage]
  [muted]Refuses commits with divergent templates or unresolved dodot-conflict markers.[/muted]
{%- elif outcome == "appended" -%}
[message]Appended dodot block to existing pre-commit hook at {{ hook_display_path }}[/message]
  [muted]Existing hook content was preserved.[/muted]
  [muted]Every `git commit` now also runs:[/muted]
    [usage]{{ command_line }}[/usage]
{%- elif outcome == "already_installed" -%}
[message]Pre-commit hook already installed at {{ hook_display_path }}[/message]
  [muted]The dodot block is already present (no change). Re-running this command is safe.[/muted]
{%- endif %}