You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

github.com/motki/motki-cli

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/motki/motki-cli

Package cli is a command-line interface and supporting libraries for interacting with a remote MOTKI application server. This project contains the motki command source code, as well text-processing functionality.


Version published

Readme

Source

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.

Install with go get

Alternatively, you can install the MOTKI CLI with go get.

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

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

The recommended way to build this project is using make, though it is compatible with go get and friends.

Prerequisites:

  1. A semi-recent version of git.
  2. A valid go toolchain install and environment configuration.

Building with make

  1. Clone or download and extract the source code and place it in the proper place inside your $GOPATH.

    mkdir -p $GOPATH/src/github.com/motki
    git clone https://github.com/motki/cli $GOPATH/src/github.com/motki/cli
    cd $GOPATH/src/github.com/motki/cli
    
  2. Use the included Makefile to build the application.

    cd $GOPATH/src/github.com/motki/cli
    make build
    
Cross-compiling the application

Each build target supports specifying GOOS and GOARCH to facilitate cross-compiling. For example, building the MOTKI CLI for 32-bit ARM linux:

make build GOOS="linux" GOARCH="arm"

See the Go language documentation for more information on supported OSes and architectures.

Build the motki program for a combination of OSes and architectures with make matrix. Use OSES and ARCHES to configure which platforms to target.

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

Building with go

Download and install motki and its dependencies using go get.

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

After go get exits successfully, you should have a new command in your $GOBIN called motki.

cd $GOPATH/src/github.com/motki/cli
go build ./cmd/motki/*.go

FAQs

Package last updated on 23 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc