stackpanel users sync
Sync users from GitHub collaborators
stackpanel users sync
Sync users from GitHub repository collaborators.
This command:
- Fetches collaborators from the GitHub repository using gh CLI
- Fetches public SSH keys for each collaborator from github.com/<user>.keys
- Generates .stack/data/github-collaborators.nix with raw collaborator data
- Creates .stack/data/users.nix that transforms data to stackpanel.users format
The github-collaborators.nix file is auto-generated and should not be edited. Edit users.nix to customize permissions or add non-GitHub users.
Requires: gh CLI to be installed and authenticated.
Usage
stackpanel users syncFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--data-dir | string | none | Data directory path (default: .stack/data) |
--no-keys | bool | false | Skip fetching public keys |
--owner | string | none | GitHub repository owner (default: current repo) |
--repo | string | none | GitHub repository name (default: current repo) |
Global Flags
These flags are inherited from parent commands.
| Flag | Type | Default | Description |
|---|---|---|---|
--daemon, -d | bool | false | Run in daemon mode (no TUI, for background processes) |
--no-color | bool | false | Disable color output |
--no-tui | bool | false | Disable interactive TUI mode |
--verbose, -v | bool | false | Enable verbose output |