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: ? 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

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