Skip to content

Rename -loop flag to -loop-dir#67

Open
guettli wants to merge 1 commit into
mainfrom
issue-64-loop-dir-flag
Open

Rename -loop flag to -loop-dir#67
guettli wants to merge 1 commit into
mainfrom
issue-64-loop-dir-flag

Conversation

@guettli
Copy link
Copy Markdown
Owner

@guettli guettli commented Jun 4, 2026

Summary

  • Renames the -loop flag to -loop-dir across every subcommand (agentloop, init, status, serve, cron) so the config-directory flag mirrors the existing -loop-data naming.
  • Default stays "loop", which resolves to the loop/ subdirectory of the current working directory (binary-dir/loop for cron).
  • Updates the README usage block and flag table.

Closes #64

Test plan

  • ./run task check (gofmt + vet + golangci-lint + go test) passes.
  • agentloop -h and agentloop init -h show -loop-dir with default loop.

🤖 Generated with Claude Code

The directory flag is renamed across every subcommand (main run, init,
status, serve, cron) for naming symmetry with -loop-data. The default
stays "loop", which resolves to the current directory's loop/ subdir.

Closes #64

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional argument --loop-dir

2 participants