chore(makefile): add skills convenience targets
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Flynn Makefile
|
||||
# Self-hosted personal AI agent
|
||||
|
||||
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable
|
||||
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable skills-list skills-info skills-install skills-uninstall skills-refresh
|
||||
|
||||
# Default target
|
||||
.DEFAULT_GOAL := help
|
||||
@@ -86,6 +86,25 @@ tui-fs: ## Run TUI in fullscreen mode (React/Ink)
|
||||
tui-dev: ## Run TUI with watch mode
|
||||
pnpm tui:dev
|
||||
|
||||
# Skills commands
|
||||
skills-list: ## List all discovered skills
|
||||
node dist/cli/index.js skills list
|
||||
|
||||
skills-info: ## Show skill details (usage: make skills-info SKILL=<name>)
|
||||
@test -n "$(SKILL)" || (echo "Usage: make skills-info SKILL=<name>" && exit 1)
|
||||
node dist/cli/index.js skills info "$(SKILL)"
|
||||
|
||||
skills-install: ## Install a skill (usage: make skills-install SKILL_PATH=<path>)
|
||||
@test -n "$(SKILL_PATH)" || (echo "Usage: make skills-install SKILL_PATH=<path>" && exit 1)
|
||||
node dist/cli/index.js skills install "$(SKILL_PATH)"
|
||||
|
||||
skills-uninstall: ## Uninstall a skill (usage: make skills-uninstall SKILL=<name>)
|
||||
@test -n "$(SKILL)" || (echo "Usage: make skills-uninstall SKILL=<name>" && exit 1)
|
||||
node dist/cli/index.js skills uninstall "$(SKILL)" --yes
|
||||
|
||||
skills-refresh: ## Refresh/discover skills from configured directories
|
||||
node dist/cli/index.js skills refresh
|
||||
|
||||
# Testing
|
||||
test: ## Run tests in watch mode
|
||||
pnpm test
|
||||
|
||||
Reference in New Issue
Block a user