Skip to content

feat(init): add --project and --local scope flags#431

Open
the0807 wants to merge 1 commit intortk-ai:developfrom
the0807:feat/init-project-local-scope
Open

feat(init): add --project and --local scope flags#431
the0807 wants to merge 1 commit intortk-ai:developfrom
the0807:feat/init-project-local-scope

Conversation

@the0807
Copy link
Copy Markdown

@the0807 the0807 commented Mar 9, 2026

Summary

  • --project: installs to ./.claude/ with settings.json (team-shared)
  • --local: installs to ./.claude/ with settings.local.json (personal)
  • Scope-aware uninstall support for all three scopes

@pszymkowiak
Copy link
Copy Markdown
Collaborator

Hi! Thanks for the contribution! Since March 6, all PRs should target the develop branch instead of master (see CONTRIBUTING.md).

Could you update the base branch? Click Edit at the top right of this PR and change it from master to develop.

Thanks!

@the0807 the0807 changed the base branch from master to develop March 11, 2026 21:51
@the0807
Copy link
Copy Markdown
Author

the0807 commented Mar 11, 2026

Thanks for the heads up!
I’ve updated the base branch from master to develop as requested. Let me know if there’s anything else I should adjust.

@the0807 the0807 changed the title feat(init): add --project and --local scope flags feat(init): add --project and --local scope flags Mar 14, 2026
  Add project-level and local-level installation scopes to rtk init:
  - --project: installs to ./.claude/ with settings.json (team-shared)
  - --local: installs to ./.claude/ with settings.local.json (personal)
  - Scope-aware uninstall support for all three scopes
@the0807 the0807 force-pushed the feat/init-project-local-scope branch from 70dd0b5 to 8c1a185 Compare March 14, 2026 12:44
@the0807
Copy link
Copy Markdown
Author

the0807 commented Mar 14, 2026

@pszymkowiak
Rebased onto latest develop to resolve conflicts. No functional changes.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@aeppling
Copy link
Copy Markdown
Contributor

Hey

We are cleaning up the codebase and improving the project structure for better onboarding. As part of this effort, PR #826 reorganizes src/ from a flat layout into subfolders.

No logic changes — only file moves and import path updates.

What you need to do

Rebase your branch on develop when receiving this comment:

git fetch origin && git rebase origin/develop

Git detects renames automatically. If you get import conflicts, update the paths:

use crate::git;        // now: use crate::cmds::git::git;
use crate::tracking;   // now: use crate::core::tracking;
use crate::config;     // now: use crate::core::config;
use crate::init;       // now: use crate::hooks::init;
use crate::gain;       // now: use crate::analytics::gain;

Need help rebasing? Tag @aeppling

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.

4 participants