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

#985 in Command line utilities

Download history 247/week @ 2024-02-20 119/week @ 2024-02-27 171/week @ 2024-03-05 60/week @ 2024-03-12 11/week @ 2024-04-02

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

~9–22MB
~304K SLoC