feat: add project initialization script and template files with dynamic help table

- Added `init-project` script to setup new taskfile projects with templates
- Created `.gitignore.template` and `AGENTS.md.template` for standardized project setup
- Implemented dynamic help table generation in `help-table` function
- Updated `library.md` and `task.template` to include new `init-project` command
- Added `init-project` to taskfile help documentation
- Improved AGENTS.md with comprehensive coding conventions and agent guidance
This commit is contained in:
Janik von Rotz committed 2026-02-06 16:29:51 +01:00
1 parent e4eaab9519
commit a27e78af51
10 files changed
+333 -212

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
init-project() {
echo "Init git directory."
git init .
echo "Create taskfile directories."
mkdir -p tmp .prompt
echo "Copy gitgnore template."
cp "$HOME/taskfile.build/.gitignore.template" ./.gitignore
echo "Copy taskfile template."
cp "$HOME/taskfile.build/task.template" ./task
echo "Copy AGENTS.md template."
cp "$HOME/taskfile.build/AGENTS.md.template" ./AGENTS.md
echo "Touch default files."
touch ./README.md ./.env
echo "Copy license file."
cp "$HOME/taskfile.build/LICENSE" ./LICENSE
}