claimr

command module
v0.0.0-...-72c2fff Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

README

Claimr - A slack bot to manage containers use

Build Status codecov Go Report Card Maintainability codebeat badge


Commands

  • help - Shows this command list.
  • add container-name - Adds a container to your channel.
  • claim container-name reason - Claims a container for your use.
  • free container-name - Makes a container available for use.
  • list - List all containers.
  • log-level level - Change the current log level. admin-only
  • purge - Purge soft delete models from the database. admin-only
  • remove container-name - Removes a container from your channel.
  • show container-name - Shows a container details.

Notice that commands tagged as admin-only will be shown and are enabled only for the super user (or 'admins' as soon I create a better way of doing).


Make sure to have your credentials on environment set in order to connect to Slack CLAIMR_TOKEN, MySQL CLAIMR_DATABASE, and CLAIMR_SUPERUSER. The admin-only commands can be used by your Slack admins and also the given CLAIMR_SUPERUSER.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL