From 2099e513213a518d4e1e03e97e74cb6c58648399 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 9 Dec 2024 17:29:56 -0800 Subject: add docstring to justfile --- .gitignore | 1 + justfile | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 7f2acd4..942f51c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /*.qcow2 bin/ /.direnv/ +/secrets/ diff --git a/justfile b/justfile index 6dea92f..18f5068 100644 --- a/justfile +++ b/justfile @@ -22,21 +22,25 @@ fmt: nix fmt [group('machines')] +[doc('build the configuration for the current host')] [macos] build: darwin-rebuild build --flake .#{{hostname}} [group('machines')] +[doc('switch the configuration for the current host')] [macos] switch: darwin-rebuild switch --flake .#{{hostname}} [group('machines')] +[doc('build the configuration for the current host')] [linux] build: nixos-rebuild build --flake .#{{hostname}} [group('machines')] +[doc('switch the configuration for the current host')] [linux] switch: nixos-rebuild switch --flake .#{{hostname}} -- cgit 1.4.1