17 releases

0.4.3 Feb 25, 2024
0.4.0 Jan 3, 2024
0.3.3 Nov 3, 2023
0.3.1 Jun 24, 2023
0.1.3 Nov 23, 2021

#952 in Command line utilities

Download history 298/week @ 2024-02-22 204/week @ 2024-02-29 46/week @ 2024-03-07 49/week @ 2024-03-14 9/week @ 2024-03-28 2/week @ 2024-04-04

227 downloads per month

MIT license

62KB
633 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

~7–23MB
~316K SLoC