Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

share-with-made

A tiny CLI tool that adds every member of the MADE team as a collaborator on a GitHub repo.

Run it from inside the repo you want to share — it reads the origin remote to determine the target.

Usage

# From inside the repo you want to share:
uvx --from git+https://github.com/kenotron-ms/share-with-made share-with-made

# Preview without making changes:
uvx --from git+https://github.com/kenotron-ms/share-with-made share-with-made --dry-run

# Grant a different permission level (default: push):
uvx --from git+https://github.com/kenotron-ms/share-with-made share-with-made --permission maintain

Requirements

  • uv (brew install uv)
  • gh authenticated as kenotron-ms
    (needed to read the private microsoft-amplifier/amplifier-shared repo)
  • Python 3.11+

What it does

  1. Reads the origin remote of the current directory to find the target repo.
  2. Fetches made-team.json from microsoft-amplifier/amplifier-shared using your gh credentials.
  3. Extracts all gh_handle values from the team tree.
  4. Calls PUT /repos/{owner}/{repo}/collaborators/{username} for each one.

Options

Flag Default Description
--permission push pull · triage · push · maintain · admin
--dry-run off Print handles that would be added, no API calls

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages