draft
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
KIT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
PROJECT_ROOT="${1:-$(pwd)}"
|
||||
|
||||
mkdir -p "$PROJECT_ROOT/.github/prompts" \
|
||||
"$PROJECT_ROOT/.github/instructions" \
|
||||
"$PROJECT_ROOT/.github/ISSUE_TEMPLATE"
|
||||
|
||||
cp "$KIT_ROOT/base/.github/prompts/"*.prompt.md "$PROJECT_ROOT/.github/prompts/"
|
||||
cp "$KIT_ROOT/base/.github/instructions/"*.instructions.md "$PROJECT_ROOT/.github/instructions/"
|
||||
cp "$KIT_ROOT/base/.github/ISSUE_TEMPLATE/"*.md "$PROJECT_ROOT/.github/ISSUE_TEMPLATE/"
|
||||
if [[ -f "$KIT_ROOT/base/.github/pull_request_template.md" ]]; then
|
||||
cp "$KIT_ROOT/base/.github/pull_request_template.md" "$PROJECT_ROOT/.github/pull_request_template.md"
|
||||
fi
|
||||
|
||||
echo "Installed myagent-kit assets into $PROJECT_ROOT/.github"
|
||||
Reference in New Issue
Block a user