script2matrix

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

script2matrix

Runs a script and sends its stdout to a Matrix chat.

Usage

Build with make, install with make install. Run like this:

script2matrix <command> [arg...]
# for example:
script2matrix ls -l ./releases

The credentials for Matrix are given in environment variables:

export MATRIX_USER=@myuser:example.org       # user account used by script2matrix
export MATRIX_PASSWORD=aegh3Iif0Ge5epeivaih  # password for that user account
export MATRIX_TARGET=#channel:example.org    # must be a room alias starting with "#"

All environment variables given to script2matrix are passed on to the command that it runs, except for those starting with MATRIX_.

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
⌂ 换网址