Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
# Prevent post-install scripts from executing malicious code.
# CI runs `npm run build` explicitly before `npm publish`,
# so prepublishOnly being skipped is not an issue.
ignore-scripts=true

# Ensure newly added deps are always pinned to exact versions.
save-exact=true
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mimo-3/slack-cli",
"version": "0.22.0",
"version": "0.22.1",
"description": "A command-line tool for sending messages to Slack",
"main": "dist/index.js",
"bin": {
Expand All @@ -20,6 +20,7 @@
"format:check": "biome check .",
"check": "biome check .",
"check:fix": "biome check --write .",
"prepare": "npm run build",
"prepublishOnly": "npm run build"
},
"keywords": ["slack", "cli", "command-line", "messaging", "api"],
Expand Down
5 changes: 4 additions & 1 deletion src/commands/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export function setupDownloadCommand(): Command {
.description('Download a file from Slack')
.option('-u, --url <url>', 'File URL (url_private or url_private_download from message)')
.option('-i, --id <id>', 'Slack file ID (e.g. F0BFXAEP1UZ)')
.option('-o, --output <path>', 'Output file path (defaults to original filename in current dir)')
.option(
'-o, --output <path>',
'Output file path (defaults to original filename in current dir)'
)
.option('--format <format>', 'Output format: table, simple, json', 'table')
.option('--profile <profile>', 'Use specific workspace profile')
.hook(
Expand Down
5 changes: 1 addition & 4 deletions src/utils/slack-client-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ import type {
import { createSlackClientContext } from './slack-operations/base-client';
import { CanvasOperations } from './slack-operations/canvas-operations';
import { ChannelOperations } from './slack-operations/channel-operations';
import type {
DownloadFileOptions,
UploadFileOptions,
} from './slack-operations/file-operations';
import type { DownloadFileOptions, UploadFileOptions } from './slack-operations/file-operations';
import { FileOperations } from './slack-operations/file-operations';
import { MessageOperations } from './slack-operations/message-operations';
import { PinOperations } from './slack-operations/pin-operations';
Expand Down
Loading