slackapi / slackapi/node-slack-sdk

[FEATURE] JSON output for `slack activity`

Open
#2,150 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement pkg:cli-test
Dominant language
TypeScript
Stars
3.4k
Forks
688
Avg merge
15h 31m
Merged PRs (30d)
27

Description

Description of the problem being solved

It would be nice to have an alternative way to output the data of slack activity as JSON records/lines (i.e. a machine-readable format).

Maybe something like slack activity --json, or slack activity -o json/slack activity --output json.

Then we can more easily process & analyze the data programatically.

Alternative solutions

Parse the activity as strings... which can be very tricky, especially for multi-line records (like stack traces for errors).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation and tests for the slack activity command, then trace how activity records are currently formatted. Decide which proposed option fits the existing CLI conventions, add machine-readable JSON records or lines, and verify that multiline records remain valid JSON and that the command's tests cover the new output.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.