18 releases

0.5.0 Sep 14, 2024
0.4.3 Feb 25, 2024
0.4.0 Jan 3, 2024
0.3.3 Nov 3, 2023
0.1.3 Nov 23, 2021

#684 in Command line utilities

Download history 190/week @ 2024-09-13 34/week @ 2024-09-20 16/week @ 2024-09-27 3/week @ 2024-10-04

1,062 downloads per month

MIT license

65KB
694 lines

rslack

select channel

Setting

  1. Create new app

  2. Create OAuth Token OAuth & Permissions

    1. User Token Scopes
      • channels:read
      • chat:write
    2. OAuth Tokens & Redirect URLs
      1. Install App to Workspace
      2. Tokens for Your Workspace -> copy OAuth Access Token
  3. Setting OAuth Token

    export RSLACK_TOKEN=your-token
    

Usage

# Install
brew install kohbis/rslack/rslack

# Configuration
# If both are set, use the value of `.rslack
export RSLACK_TOKEN=your-token
# or
echo "RSLACK_TOKEN=your-token" > ${HOME}/.rslack

rslack

Local Build & Run

# Configuration
# and
cargo run --release

Test

cargo test

Dependencies

~9–20MB
~269K SLoC