lark-send-msg-cli

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

lark-send-msg-cli

codecov go report card test status Apache-2.0 license Go.Dev reference Go project version

Install

  • By Go
go install github.com/chyroc/lark-send-msg-cli@latest
  • By Brew
brew install chyroc/tap/lark-send-msg-cli

Usage

  • With Webhook
lark-send-msg-cli --webhook "<webhook-url>" --secret "<secret>" --message "<message>"

If you send your message contains \n, but the message sent does not wrap, this may be because \n is escaped, you can add the --wrap parameter to reverse this situation

lark-send-msg-cli --webhook "<webhook-url>" --secret "<secret>" --message "msg1\nmsg2\n" --wrap

If you use this tool in GitHub action and other places, timeout may occur. You can add the --timeout parameter to specify the timeout period in seconds.

lark-send-msg-cli --webhook "<webhook-url>" --secret "<secret>" --message "<message>" --timeout 10

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL