File Uploads
Upload from a file:
teams file upload --team "$TEAM_ID" --channel "$CHANNEL_ID" --file ./report.txt --output json
Upload from stdin:
printf 'smoke test\n' | teams file upload --team "$TEAM_ID" --channel "$CHANNEL_ID" --stdin --name smoke.txt --output json
Use --path for downloads unless raw stdout bytes are intentional.