Giter VIP home page Giter VIP logo

twitter's Introduction

twitter: The Cog Twitter Command Bundle

TL;DR

!twitter:tweet "Currently experiencing long request times; our engineering team is investigating"

Overview

The twitter bundle exposes a tweet command, which allows you to tweet from Cog, using multiple Twitter accounts. Put it in an incident response pipeline to tweet updates from your support account. Add it to a release pipeline to tweet when a new version of your software is available.

Using the --as option allows you to tweet from different Twitter accounts. For details on how to set this up, please consult the detailed documentation for the tweet command in `config.yaml'.

By default, execution of the twitter:tweet command will require the twitter:tweet permission. You can, of course, customize the rules as you like. One suggestion would be to incorporate the value of the --as option into your rules, allowing you to restrict execution based on the Twitter account the command will use. For example, the rule

when command is twitter:tweet with option[as] == "support" must have twitter:tweet and site:support

would make it so only support team members (assuming you've granted those people the site:support permission) could tweet from your support Twitter account.

Installing

curl -O https://raw.githubusercontent.com/cogcmd/twitter/master/config.yaml
cogctl bundle install config.yaml

Building

To build the Docker image, simply run:

$ rake image

Requires Docker and Rake.

twitter's People

Contributors

christophermaier avatar

Watchers

James Cloos 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.