motki_cli

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2018 License: MIT Imports: 0 Imported by: 3

README

motki-cli

Command motki contains interactive command-line tools for managing EVE Online character and corporation assets and industrial processes.

GoDoc

Getting started

Download the latest pre-built motki binary for your platform.

Note that the default configuration connects to motki.org:18443 using SSL.

Command-line options
Usage of motki:
  -credentials string
    	Username and password separated by a colon. (ie. "frank:mypass")
  -history-file string
    	Path to the CLI history file. (default ".history")
  -insecure-skip-verify
    	INSECURE: Skip verification of server SSL cert.
  -log-level string
    	Log level. Possible values: debug, info, warn, error. (default "warn")
  -server string
    	Backend server host and port. (default "motki.org:18443")
  -version
    	Display the application version.

Authenticating

Some functionality in the application requires authenticating with the remote motkid installation (by default, the Moritake Industries website).

To authenticate:

  1. Ensure you have a valid account with characters linked on the remote motkid installation.

  2. Configure motki to use your credentials.

    1. Pass them via command-line option:
    motki -credentials username:password
    
    1. Pass them via environment variables:
    MOTKI_USERNAME=username MOTKI_PASSWORD=password motki
    

Building

Install motki using go get.

go get -u github.com/motki/motki-cli/...

The project is buildable with Go tools alone.

cd $GOPATH/src/github.com/motki/motki-cli
go build ./cmd/motki/*.go
Building with make

Use the included Makefile to build the program.

cd $GOPATH/src/github.com/motki/motki-cli
make build

Build the motki program for a combination of OSes and architectures.

make matrix OSES="windows linux darwin" ARCHES="amd64 x86"

Documentation

Overview

Package motki_cli contains a command-line interface for interacting with a remote motki application server.

This project contains the motki command source code, as well text-processing functionality.

Directories

Path Synopsis
Package app contains functionality related to creating an integrated command-line interface environment with all the necessary dependencies.
Package app contains functionality related to creating an integrated command-line interface environment with all the necessary dependencies.
cli
cmd
motki command
Command motki is a utility for interacting with a remote motki application server.
Command motki is a utility for interacting with a remote motki application server.

Jump to

Keyboard shortcuts

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