Skip to content

Repository files navigation

License: MIT

Teams CLI

A command-line tool for managing Microsoft Teams teams, channels, chats, and messages. Includes both CLI and TUI modes for easier workflows.

Features

  • List, create, archive, unarchive, and delete teams.
  • Create channels with members from data files.
  • Send, reply to, and fetch channel messages.
  • List chats and send chat messages (including templates).

Installation

  • Go install: go install github.com/pzsp-teams/teams-cli@latest
  • Download a binary from the GitHub releases page.

Configuration

Default config locations:

OS Location
Linux ~/.config/teams-cli
macOS ~/Library/Application Support/teams-cli
Windows %LOCALAPPDATA%\teams-cli (fallback LocalAppData\teams-cli)

A default config can be created on config init command or loaded with a --config flag

Config file structure

[auth]
  client_id = ""
  tenant_id = ""
  email = ""
  auth_method = "interactive"

[sender]
  max_retries = 3
  next_retry_delay = 2
  timeout = 10

[cache]
  mode = "async"

Documentation

Detailed docs

About

MSTeams Terminal Client - CLI and TUI application utilizing Go library

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages