1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00
home-manager/tests/modules/programs/claude-code/commands-path.nix
Austin Horstman fb928abb67 tests/claude-code: add path tests for agents/commands
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-17 00:07:05 -05:00

14 lines
304 B
Nix

{
programs.claude-code = {
enable = true;
commands = {
test-command = ./test-command.md;
};
};
nmt.script = ''
assertFileExists home-files/.claude/commands/test-command.md
assertFileContent home-files/.claude/commands/test-command.md \
${./test-command.md}
'';
}