github shaharia-lab/slackcli v0.2.0
v0.2.0 - Parse cURL & Message Reactions

latest releases: v0.19.3, v0.19.2, v0.19.1...
10 months ago

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
  • --login flag 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 --login

Message 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=+1

Common 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 addReaction and removeReaction methods 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

New Contributors

Full Changelog: v0.1.1...v0.2.0

Don't miss a new slackcli release

NewReleases is sending notifications on new releases.