Skip to content

files download: add command to download file attachments #121

@piekstra

Description

@piekstra

Problem

There's no way to download file attachments from the CLI. After #119 added files metadata to message JSON output, consumers can see that files exist but can't retrieve them without manually curling with auth headers.

Expected behavior

slck files download <file-id-or-url> [--output <path>] should download a Slack file to the local filesystem.

Scope

  • New files subcommand group with a download command
  • Support file ID or url_private as input
  • Default output to current directory using the file's original name
  • --output flag to specify a custom path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions