SlackCLI v0.2.0
This release adds two major features that enhance the authentication workflow and message interaction capabilities.
🎯 New Features
Parse cURL Command (auth parse-curl)
Automatically extract browser tokens from cURL commands copied from DevTools - the easiest way to get started with browser authentication!
Features:
- Extract xoxd and xoxc tokens automatically
- Parse workspace URL and name
- Support for stdin pipe and command arguments
--loginflag for automatic authentication
Usage:
# Parse and display tokens
slackcli auth parse-curl "paste-curl-command"
# Parse and login automatically
slackcli auth parse-curl --login "paste-curl-command"
# Pipe from clipboard
pbpaste | slackcli auth parse-curl --loginMessage Reactions (messages react)
Add emoji reactions to any Slack message programmatically!
Features:
- Works with both standard and browser authentication
- Supports all standard Slack emoji names
- Perfect for automation workflows
Usage:
slackcli messages react \
--channel-id=C1234567890 \
--timestamp=1234567890.123456 \
--emoji=+1Common emoji names: +1, heart, fire, eyes, tada, rocket
📚 Documentation
- Comprehensive README updates with usage examples
- Step-by-step guides for both features
- Enhanced authentication documentation
🔧 Technical Details
- Added token extraction with regex parsing
- Handles URL-encoded tokens correctly
- Supports multiple cURL formats (--data-raw, --data, -b, --cookie, -H)
- Added
addReactionandremoveReactionmethods to SlackClient
📦 Installation
Download pre-built binaries for your platform:
Linux:
curl -L https://github.com/shaharia-lab/slackcli/releases/download/v0.2.0/slackcli-linux -o slackcli
chmod +x slackcli
mv slackcli ~/.local/bin/macOS (Intel):
curl -L https://github.com/shaharia-lab/slackcli/releases/download/v0.2.0/slackcli-macos -o slackcli
chmod +x slackcli
mv slackcli ~/.local/bin/macOS (Apple Silicon):
curl -L https://github.com/shaharia-lab/slackcli/releases/download/v0.2.0/slackcli-macos-arm64 -o slackcli
chmod +x slackcli
mv slackcli ~/.local/bin/Windows:
Download slackcli-windows.exe from the assets below.
🔄 Upgrade
If you're already using SlackCLI:
slackcli update📝 Full Changelog
See CHANGELOG.md for complete details.
🙏 Acknowledgments
Special thanks to all contributors and users who provided feedback!
Made with ❤️ by Shaharia Lab
What's Changed
- chore: Reduce artifact retention to 1 day by @shahariaazam in #3
- Add parse-curl command and message reactions support by @nahidupa in #4
- Release v0.2.0 by @shahariaazam in #8
New Contributors
Full Changelog: v0.1.1...v0.2.0