Skip to content

feat(init): record init URL - #18

Merged
git-hulk merged 2 commits into
masterfrom
agent/record-init-url
Jul 29, 2026
Merged

feat(init): record init URL#18
git-hulk merged 2 commits into
masterfrom
agent/record-init-url

Conversation

@git-hulk

Copy link
Copy Markdown
Owner

Summary

  • persist an explicitly supplied init URL as init_url in ~/.clime/plugins.yaml
  • reuse the recorded URL when clime init runs without an argument
  • replace the recorded URL after a newly supplied URL is fetched successfully
  • keep local manifest paths as one-off overrides that do not replace the recorded URL
  • update CLI help, README examples, and tests

Why

Users currently need to repeat their organization’s manifest URL on every clime init run. Recording the last successful URL makes subsequent initialization consistent while retaining the built-in defaults for users who have never supplied one.

Validation

  • go test ./...
  • go vet ./...
  • go build ./...
  • git diff --check

Comment thread cmd/init.go Outdated
@git-hulk
git-hulk marked this pull request as ready for review July 29, 2026 12:12
@git-hulk
git-hulk merged commit 3de2520 into master Jul 29, 2026
4 checks passed
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.

1 participant