From 7f8bbefb05d85dcbcc560a0fb23256b912676486 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Mon, 16 Mar 2026 06:36:24 +0300 Subject: Chore: add cli test --- .gitignore | 1 + cli-tests/sort-text/setup.sh | 10 ++++++++++ cli-tests/sort-text/task.txt | 2 ++ 3 files changed, 13 insertions(+) create mode 100644 cli-tests/sort-text/setup.sh create mode 100644 cli-tests/sort-text/task.txt diff --git a/.gitignore b/.gitignore index b3baaec..6811189 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ config.toml sysprompts/* !sysprompts/alice_bob_carl.json !sysprompts/coding_assistant.json +!cli-tests/sort-text/task.txt history_bak/ .aider* tags diff --git a/cli-tests/sort-text/setup.sh b/cli-tests/sort-text/setup.sh new file mode 100644 index 0000000..351ebe2 --- /dev/null +++ b/cli-tests/sort-text/setup.sh @@ -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 diff --git a/cli-tests/sort-text/task.txt b/cli-tests/sort-text/task.txt new file mode 100644 index 0000000..0d3a9e8 --- /dev/null +++ b/cli-tests/sort-text/task.txt @@ -0,0 +1,2 @@ +go to /tmp/sort-text, create directories: animals, colors +sort /tmp/sort-text/*.txt into created directories by text content -- cgit v1.2.3