|
Download tasks/data/reverse/42wim__teamscli.abfccbd/environment/docs/usage.md from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 2.31 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/42wim__teamscli.abfccbd/environment/docs/usage.md
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/reverse/42wim__teamscli.abfccbd/environment/docs/usage.md
-
curl -L -o usage.md https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/42wim__teamscli.abfccbd/environment/docs/usage.md
2.31 kB
teamscli — usage documentation
teamscli is a command-line tool for Microsoft Teams. It reads the local Teams
cookies database and reuses your auth cookie to set things such as your presence
status.
Requirements
- A working Microsoft Teams desktop app (Windows/Linux).
teamsclimust run on the same host as the GUI Teams client you are logged in with (it reads that client's cookie database).
Commands
presence
Set your Teams presence status.
$ ./teamscli help presence
possible options are Busy, Available, Offline, DoNotDisturb (DND), Away, BeRightBack (BRB)
Usage:
teamscli presence [flags]
Flags:
-d, --duration string keep presence for specific time (e.g. 1h)
-h, --help help for presence
Accepted presence values:
| Value | Short form |
|---|---|
| Available | — |
| Busy | — |
| DoNotDisturb | DND |
| Away | — |
| BeRightBack | BRB |
| Offline | — |
Examples:
$ ./teamscli presence Busy
presence set to Busy
$ ./teamscli presence brb -d 1h30m
presence set to brb for 1h30m
Input: presence name as the first (positional) argument; optional --duration
flag accepting Go-style durations such as 1h or 1h30m.
Output: plain-text confirmation of the presence that was set.
status
Set a custom status message.
Usage:
teamscli status [flags]
Flags:
-d, --duration string keep status for specific time (e.g. 1h)
-s, --show show status message when people message you
-h, --help help for status
Running teamscli status with no arguments prints this help text.
Behavior:
teamscli status "<message>"sets the status message.-d/--duration <dur>keeps the message for a given time (Go-style duration, e.g.1h).-s/--showmakes the message visible to people who message you.
Output examples:
$ teamscli status "Out to lunch"
status set to Out to lunch
this message will be shown to people who message you.
$ teamscli status "In a meeting" -d 1h -s
status set to In a meeting for 1h
this message will be shown to people who message you.
Input: status message as the first (positional) argument (quoted if it contains
spaces); optional --duration and --show flags.
Output: plain-text confirmation, plus a note when --show is enabled.