chainabit invitation accept
Published (2.2.0)
Accept an invitation as the signed-in user
Synopsis
text
chainabit invitation accept [options]Options
| Option | Description | Default |
|---|---|---|
--token <token> | The token from the invitation link (visible in process listings and shell history; prefer --token-env, --token-file or --token-stdin) | — |
--token-stdin | Read the invitation token from stdin | — |
--token-env <envVar> | Read the invitation token from an environment variable | — |
--token-file <path> | Read the invitation token from a file | — |
Options shared by every command are described in Global options and shared behavior.
Development (2.2.0)
Accept an invitation as the signed-in user
Synopsis
text
chainabit invitation accept [options]Options
| Option | Description | Default |
|---|---|---|
--project-id <id> | Project invitation ID. Conflicts with: teamId, token, tokenStdin, tokenEnv, tokenFile. | — |
--team-id <id> | Team invitation ID. Conflicts with: projectId, token, tokenStdin, tokenEnv, tokenFile. | — |
--yes | Confirm this change | — |
--token <token> | The token from the invitation link (visible in process listings and shell history; prefer --token-env, --token-file or --token-stdin) | — |
--token-stdin | Read the invitation token from stdin | — |
--token-env <envVar> | Read the invitation token from an environment variable | — |
--token-file <path> | Read the invitation token from a file | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Accepts the invitation token as the currently signed-in user. The token comes from the invitation link and does not replace the user's authentication credential.
Token input
Read the token from stdin with --token-stdin, from an environment variable with --token-env <VAR>, or from a file with --token-file <path>. --token <token> still works, but it prints a warning on stderr because command-line arguments can be visible to other users on the machine.
Examples
bash
chainabit invitation accept --token YOUR_INVITATION_TOKEN