kikanbo

command module
v0.0.0-...-51b43c0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 1 Imported by: 0

README

kikanbo

kikanbo is command line tool for managing device connection status. And kikanbo is noodle I love 🍜

You can know current device connection status by mention on slack.

Requirements

Installation

$ brew install go // If not installed
$ export PATH=${HOME}/go/bin:${PATH} or export PATH=${GOPATH}/bin:${PATH}

$ go get -u github.com/Nonchalant/kikanbo

Setup

Prepare .env file.

KIKANBO_TOKEN=xoxb-xxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx
BOT_MEMBER_ID=<SLACK_BOT_MEMBER_ID>
DEVICES_FILE_DIR=$HOME/.kikanbo // Option
DEVICES_FILE_PATH=$HOME/.kikanbo/devices.json // Option
KIKANBO_TOKEN

Slack Bot Token

BOT_MEMBER_ID

Slack Bot Member Id. You can get on slack app.

DEVICES_FILE_DIR

Device List File Dir. Default is $HOME/.kikanbo.

DEVICES_FILE_PATH

Device List File Path. Default is $HOME/.kikanbo/devices.json.

Usage

Command
$ kikanbo run
Slack
Defaults

e.g. @kikanbo

Show all devices.

Keyword

e.g. @kikanbo iOS 10

Show devices contains keyword (e.g. iOS 10)

Notice

kikanbo is depends on macOS commands instruments. Please run on macOS.

Development

$ go get -u github.com/Nonchalant/kikanbo
$ cd ~/.go/github.com/Nonchalant/kikanbo
$ go run main.go run

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