divekit members add
Add members to the configured members file
Synopsis
Add members to a distribution before creating or updating repositories.
The command writes a new members file with new users appended, preserves UUIDs for existing groups, and updates the distribution config to point at the new file.
Input Sources
Interactive (default):
Opens the multiline member input prompt when no arguments, --members-file,
or stdin input are provided.
Arguments:
Provide one or more usernames as positional arguments.
File:
Use --members-file to read usernames to add from a file.
Stdin:
Pipe usernames into the command.
Usage
divekit members add [member...] [flags]
Examples
# Add two users to the next distribution
divekit members add -d ST2M5 alice bob
# Add users listed in a file
divekit members add -d ST2M5 --members-file additional-members.txt
# Preview additions without changing config.json or members files
divekit members add -d ST2M5 --members-file additional-members.txt --dry-run
Flags
--dry-run Preview added members without writing a new members file
--members-file string Path to a file with member names to add (one per line)
Inherited Flags
-d, --distribution string Distribution name (required or prompted)
-l, --loglevel string log level (debug, info, warn, error, fatal) (default "info")
--no-index skip project index update
--non-interactive run in non-interactive mode (fails if interactive input is required)
-y, --yes assume yes/default for all prompts (non-interactive with automatic defaults)