New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

slkecho

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slkecho

  • 2.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Slkecho

Gem Version

Slkecho is a CLI tool to post message to Slack like echo command.

Installation

Install it yourself as:

gem install slkecho

or add this line to your application's Gemfile:

source "https://rubygems.pkg.github.com/okonomi" do
  gem "slkecho"
end

More details: Working with the RubyGems registry - GitHub Docs

Usage

slkecho -c <channel> -m <mention> message

or message from stdin:

cat message.txt | slkecho -c <channel> -m <mention>

Options

-c, --channel (required)

Slack channel to post message.

See below: https://api.slack.com/methods/chat.postMessage#arg_channel

-m, --mention-by-email (optional)

Search for the target member by email address and adds a mentions to the message. Mention is only valid for members of the channel to which you are posting.

--username (optional)

Set user name for message.

See below: https://api.slack.com/methods/chat.postMessage#arg_username

--icon-url (optional)

Set user icon image for message by URL.

See below: https://api.slack.com/methods/chat.postMessage#arg_icon_url

--icon-emoji (optional)

Set user image for message by emoji.

See below: https://api.slack.com/methods/chat.postMessage#arg_icon_emoji

--message-as-blocks (optional)

Post message as blocks.

See below: https://api.slack.com/methods/chat.postMessage#arg_blocks

--token (optional)

Pass a token to authenticate with Slack.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/okonomi/slkecho.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 09 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc