campfire-tools

command module
v0.0.0-...-772e16f Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2014 License: MIT Imports: 15 Imported by: 0

README

Campfire tools perform two tasks:

  1. Import Campfire history into MySQL database for further message integrity checks.
  2. Check that Campfire and Slack histories are matching.

Config file format

config.json contains following settings:

{
    "DbName": "cftools",
    "ApiKey": "<XXXxxxxXXXXXXXXXXXxxxxxXXXXXXXxxxXXXXXxx>",
    "Domain": "<cfdomain>",
    "SlackData": "data"
}

Where:

  • DbName - MySQL Database name for Campfire history crawling
  • ApiKey - Your Campfire API key
  • Domain - Your Campfire domain
  • SlackData - Path to Slack's 'Export Data' messages archive (unzip it to some folder)

CLI

    # Imports Campfire history to MySQL database
    campfire-tools import

    # Perform histories match check
    campfire-tools -cfroom CfRoomName -slroom SlackRoomName [-from YYYY-MM-DD] [-to YYYY-MM-DD] check

License

Copyright (c) 2014, Victor Petrenko. Distributed under the MIT license.

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