No description
Find a file
Marc Cataford eacc51aa62
build: replace poetry by pip-sync (#6)
build: pytest call

build: set up venv

test: snapshot update, formatting

chore: author info formatting

chore: author info formatting

build: includes

ci: release update

docs: set_version
2022-10-29 23:22:38 -04:00
.github/workflows build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
script build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
slack_status_cli feat: add debugger logging and flag (#5) 2022-03-18 17:43:19 -04:00
tests build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
.gitignore build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
.pylintrc feat: initial version (#1) 2022-03-17 20:36:44 -04:00
LICENSE Initial commit 2022-03-17 17:11:26 -04:00
pyproject.toml build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
README.md build: release flow (#2) 2022-03-17 20:48:42 -04:00
requirements.in build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
requirements.txt build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
requirements_dev.in build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
requirements_dev.txt build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00
set_version.py build: replace poetry by pip-sync (#6) 2022-10-29 23:22:38 -04:00

slack-status-cli

❇️ Tooling to set your Slack status on the fly without having to click around

CICD codecov python-support latest-release

Overview

Clicking around Slack to update statuses is not only annoying, but if you use statuses as part of your remote workflow to broadcast what you are up to when jumping into new things, you quickly find yourself spending minutes of you day clicking around and setting the same statuses over and over again since the UI isn't great at remembering them.

Enter slack-status-cli. With it, you can set statuses (with or without expiration dates) without leaving the terminal. More importantly, you can also set presets and defaults to save time on statuses you reuse all the time.

Configuration

You can use slack-status-cli without a configuration file and provide everything via arguments (see slack-status-cli -h for the list of flags you can pass in), or set up a file under ~/.config/slack-status-cli that follows the format:

{
    "presets": {
        "pairing": { "text": "Pairing", "icon": ":pear:" }
    },
    "defaults": { "duration": "1h", "icon": ":calendar:" }
}

presets allows you to set up a map of labels (used to select the preset) to values (defining the status text, icon and duration), defaults allows you to set up sane defaults used in all statuses if the specified fields are not provided (in the above, all statuses would have a duration of one hour if not specified, and a default 📆 icon -- presets and/or CLI args will override these defaults if given).

Installation

You can clone this repository and build from source. This project uses poetry, as such poetry build will prepare a Wheel that you can install directly. Build artifacts for released versions are also available under releases.