Files
git.taskfile.build/bin/init-project
T
Janik von Rotz fa48eda0c0 feat(aliases): implement first-letter shorthand aliases for all bin scripts with collision handling
- Added alias functions to all bin scripts using first-letter pattern (e.g., `av` for `activate-venv`, `cwl` for `commit-with-llm`)
- Implemented collision resolution by extending aliases with additional letters when conflicts occur or when shadowing standard shell commands
- Documented alias implementation approach in library.md with complete alias map for reference
- Verified shell syntax with `bash -n` and ensured proper argument passing with `"$@"`
- Updated prompt frontmatter to reflect completed state and model used (infomaniak/moonshotai/Kimi-K2.6)
2026-07-08 15:42:22 +02:00

31 lines
713 B
Bash
Executable File

#!/usr/bin/env bash
init-project() {
echo "Init git directory."
git init .
echo "Create taskfile directories."
mkdir -p tmp prompts
echo "Copy gitgnore template."
cp -n "$HOME/taskfile.build/.gitignore.template" ./.gitignore
echo "Copy taskfile template."
cp -n "$HOME/taskfile.build/task.template" ./task
echo "Copy agents template."
cp -n "$HOME/taskfile.build/AGENTS.md.template" ./AGENTS.md
echo "Copy changelog template."
cp -n "$HOME/taskfile.build/CHANGELOG.md.template" ./CHANGELOG.md
echo "Touch readme file."
touch ./README.md
echo "Copy license file."
cp "$HOME/taskfile.build/LICENSE" ./LICENSE
}
inp() {
init-project "$@"
}