Chore: add cli test

This commit is contained in:
Grail Finder
2026-03-16 06:36:24 +03:00
parent 2c9c36e2c6
commit 7f8bbefb05
3 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@@ -9,6 +9,7 @@ config.toml
sysprompts/* sysprompts/*
!sysprompts/alice_bob_carl.json !sysprompts/alice_bob_carl.json
!sysprompts/coding_assistant.json !sysprompts/coding_assistant.json
!cli-tests/sort-text/task.txt
history_bak/ history_bak/
.aider* .aider*
tags tags

View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
mkdir -p /tmp/sort-text
printf "cat" > /tmp/sort-text/file1.txt
printf "red" > /tmp/sort-text/file2.txt
printf "dog" > /tmp/sort-text/file3.txt
printf "blue" > /tmp/sort-text/file4.txt

View File

@@ -0,0 +1,2 @@
go to /tmp/sort-text, create directories: animals, colors
sort /tmp/sort-text/*.txt into created directories by text content