Files
dotfiles/dot_agents/skills/linear-cli/references/team.md
T

161 lines
3.7 KiB
Markdown
Raw Normal View History

# team
> Manage Linear teams
## Usage
```
Usage: linear team
Description:
Manage Linear teams
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
Commands:
create - Create a linear team
delete <teamKey> - Delete a Linear team
list - List teams
id - Print the configured team id
autolinks - Configure GitHub repository autolinks for Linear issues with this team prefix
members [teamKey] - List team members
states [teamKey] - List workflow states for a team
```
## Subcommands
### autolinks
> Configure GitHub repository autolinks for Linear issues with this team prefix
```
Usage: linear team autolinks
Description:
Configure GitHub repository autolinks for Linear issues with this team prefix
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```
### create
> Create a linear team
```
Usage: linear team create
Description:
Create a linear team
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
-n, --name <name> - Name of the team
-d, --description <description> - Description of the team
-k, --key <key> - Team key (if not provided, will be generated from name)
--private - Make the team private
--no-interactive - Disable interactive prompts
```
### delete
> Delete a Linear team
```
Usage: linear team delete <teamKey>
Description:
Delete a Linear team
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
--move-issues <targetTeam> - Move all issues to another team before deletion
-y, --force - Skip confirmation prompt
```
### id
> Print the configured team id
```
Usage: linear team id
Description:
Print the configured team id
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```
### list
> List teams
```
Usage: linear team list
Description:
List teams
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
-w, --web - Open in web browser
-a, --app - Open in Linear.app
```
### members
> List team members
```
Usage: linear team members [teamKey]
Description:
List team members
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
-a, --all - Include inactive members
-j, --json - Output as JSON
```
### states
> List workflow states for a team
```
Usage: linear team states [teamKey]
Description:
List workflow states for a team
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
-j, --json - Output as JSON
```