Master CLI to control all Emberlamp repositories.
The CLI fetches the list of repositories dynamically from emberlamp/config → repos.json. This means you don't need to update the CLI when adding new repos - just update the JSON file!
- Update repos.json in the config repo
- All emberlamp CLI commands will automatically use the updated list
gh extension install emberlamp/cliOr add to PATH:
cp emberlamp /usr/local/bin/# List all repositories
emberlamp list
# Clone all repos
emberlamp clone ~/emberlamp
# Pull all repos
emberlamp pull
# Push all repos
emberlamp push
# Show status
emberlamp status
# Create new repo
emberlamp create new-repo "Description"
# Execute command in all repos (tested with real example)
emberlamp exec "echo 'test' > test.txt"
emberlamp exec "git add -A && git commit -m 'chore: add test file' && git push"# 1. Clone all repos
emberlamp clone ~/emberlamp
# 2. Change to the cloned directory
cd ~/emberlamp
# 3. Add a file to all repos
emberlamp exec "echo 'test' > test.txt"
# 4. Commit and push to all repos (successfully pushed to all 11 repos!)
emberlamp exec "git add -A && git commit -m 'chore: add test file' && git push"| Command | Description |
|---|---|
list |
List all Emberlamp repos |
clone [dir] |
Clone all repos to directory |
pull |
Pull all cloned repos |
push |
Push all cloned repos |
status |
Show status of all repos |
create <name> [desc] |
Create new repository |
exec <command> |
Execute command in all repos |
Managed dynamically from repos.json in emberlamp/config.
A GitHub bot can be created to:
- Automatically sync repos list from config to all extensions
- Trigger updates when
repos.jsonchanges - Run scheduled tasks across all repos
To implement, you would need:
- Create a GitHub App or use existing token
- Add repository dispatch webhook
- Create a workflow that listens for config changes
Would you like to create a bot for this automation?