@aristobyte/repo
v1.0.2
Published
CLI for GitHub repo/org bootstrap and policy management
Maintainers
Readme
AristoRepo
Clean, config-first GitHub org/repo bootstrap toolkit.
CLI (Primary)
Use the TypeScript CLI package aristo-repo as the main entrypoint.
cd aristo-repo
npm install
npm run build
npm linkThen:
aristo-repo create <org> <repo>
aristo-repo apply-org <org>
aristo-repo init-teams <org>
aristo-repo remove-teams <org>
aristo-repo validateBuild And Publish
npm run check
npm run build
npm run publish:npmOne-step publish flow:
npm run releaseShell scripts (under ./scripts/):
bash ./scripts/compile.sh
bash ./scripts/pack.sh
bash ./scripts/bump.sh patch
bash ./scripts/publish.shDetailed CLI docs: ./CLI.md
Current TS Migration Status
The CLI is now TS-native for:
createorchestrationapply-orgorchestrationvalidatechecks- Actions policy application (repo + org flows)
- Security policy application (repo + org flows)
- Environments policy application (repo + org flows)
The repository is now TS-only for operational logic.
Compatibility Commands
Use aristo-repo exec with legacy command ids for backward compatibility.
aristo-repo exec scripts/update_rulesets_org.ts --org aristobyte --config ./config/management.json
aristo-repo exec scripts/validate_project.tsSource of Truth
- Runtime/module toggles:
./config/app.config.json - Repo/rulesets policy:
./config/management.json,./config/repo-settings.config.json,./config/rulesets.config.json - Teams:
./config/teams.config.json - Actions:
./config/actions.config.json - Security:
./config/security.config.json - Environments:
./config/environments.config.json - Discussions template:
./config/discussions.config.json
Architecture
src/*: primary TS CLI and module logicsrc/commands/*: command/compat dispatch layersrc/utils/*: shared utility helpersscripts/: Bash automation scripts used by CI/release and local maintenance
Notes
- Internal scripts are reusable building blocks; avoid calling them unless needed.
