slack-status-cli

command module
v0.0.0-...-a11563c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 1 Imported by: 0

README ΒΆ

Slack Status CLI

Lightning fast Slack status updates!⚑

See it in action :fire:

Setting things up πŸ”¨

  • Create a new Slack app
  • Select from an app manifest
  • Select your workspace
  • Paste the following YAML app manifest:
display_information:
    name: slack-status-cli
    description: Lightning fast Slack status updates!
oauth_config:
    scopes:
        user:
        - dnd:write
        - emoji:read
        - users.profile:read
        - users.profile:write
        - users:read
        - users:write
  • Create πŸš€
  • Install to workspace
  • Go to OAuth and permissions
  • Copy User Auth Token
Download πŸ“₯

Get the latest version from Releases

Make it executable

chmod +x st_<version_platform_arch>

Move to your $PATH

mv st_<version_platform_arch> <$PATH>/st

Create new profile 🐻
st profile --create  # shorthand -c
Add your profile name and OAuth token: image

Usage 🌈

Add new status 🎧

Add your status, duration and emoji

st add
Select status πŸ‘€
st set
Set yourself away 😴
st away

Enable Do Not Disturb (DND) while away 😷

st away --dnd <time duration>
Set yourself active πŸ„

Remove any status, or DND settings

st active
Profile management πŸ”§

Set default profile If you have multiple slack profiles, select default profile using:

st profile --default  # shorthand -d

Manage profile: change name, token, delete or update status

Uses default profile:

st profile --manage  # shorthand -m

Select profile to manage:

st profile --manage --select # shorthand -m -s

Show current/default profile

st profile --show
Setting time duration ⏰

Valid durations for time includes:

minutes, hours or days. DEFAULTS to minutes

NOTE: use single or double quotes around the time duration values.

OPTIONS for the duration:

  • minute: m, min, mins :: Example: "10 m", "10 mins", 10minute, "10 minutes"

  • hour: h, hr, hour, hours :: Example: "1 h", 1hr, "1 hour", "1 hours"

  • day: d, day, days :: Example: 2d, "2 day", 2days

Documentation ΒΆ

Overview ΒΆ

Copyright (c) Yankee Maharjan 2022. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.

Directories ΒΆ

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL