Giter Club home page Giter Club logo

channels-cli's Introduction

channels-cli

Installation

Visit [https://channels.devpulsehq.com] for more information on how to create local webhook channels.

Usage

brew tap DevPulseHQ/tap
brew install channels-cli

To create a new configuration file, run the following command:

channels-cli init

Visit: [https://channels.devpulsehq.com] to create a new webhook channel or a set of webhook channels.

Once you have created a webhook channel, you can add the webhook channel to the configuration file.

api_key: test_api_key
channels:
  - name: channel
    channel_id: 2dyxqmRqgYfP4uZiiUadVrbqccN
    target: http://example.com/channel
  - name: channel2
    channel_id: 2dyxqmRqgYfP4uZiiUadVrbqccN
    target: http://example.com/channel/2

Then run the following command to send a message to the webhook channel:

channels-cli

or if the configuration file is different to channels_config.yml

channels-cli --config={config-file-name}.yml

To see all the available options, run the following command:

channels-cli --help

Development

If you want to adjust the logging levels:

-LOG_LEVEL=debug cargo run -- --config=tests/config.yml

Contributing

If you want to contribute to the project, please follow the steps below:

  • Fork the repository
  • Create a new branch
  • Make your changes
  • Push the changes to your fork
  • Create a pull request to the main repository

I will review. If everything is fine, I will merge the changes into the main repository.

License

Just use it or copy it - who cares. It's just a CLI tool.

channels-cli's People

Contributors

jonnonz1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.