shout

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

README

Shout

Shout Splash Logo

Description

Shout is a versatile command-line utility designed to enhance CI/CD pipelines with efficient logging and alerting capabilities. It allows developers and DevOps professionals to log information, warnings, and errors directly from their pipelines and send customizable alerts to specified webhook URLs. With support for structured logging and color-coded outputs, Shout makes monitoring and debugging CI/CD processes more intuitive and accessible.

Features

  • Logging: Easily log messages, warnings, and errors with color-coded outputs to distinguish between log levels.
  • Webhook Alerts: Send customizable alerts to any webhook URL, allowing integration with various monitoring and messaging platforms.

Installation

To install Shout, clone the repository and build the application using Go:

git clone https://github.com/bacchusjackson/shout
cd shout
go build -o shout .

Ensure you have Go installed on your system to compile the application.

Usage

Shout is designed with simplicity in mind, providing a straightforward CLI interface for all its features. Here are some examples of how to use Shout:

demo

Logging Information, Warnings, and Errors

Log an information message:

./shout log 'Deployment started'

Log a warning:

./shout warn 'Deployment taking longer than expected'

Log an error:

./shout error 'Deployment failed'
Sending Alerts

Send an alert to a webhook URL:

./shout alert [WEBHOOK URL] key1=value1 key2=value2
Displaying Version Information

To display the version and build information of Shout:

./shout version

Contributing

We welcome contributions! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

License

Apache 2.0 Open Source

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