spr

command module
v0.0.0-...-9cee1ac Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

README

CLI

Install gvm

$ bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
$ source "$HOME/.gvm/scripts/gvm"
$ gvm install go1.13.6
$ gvm use go1.13.6 [--default]

Update .bashrc and source it

#!/bin/bash

GVM_BIN="$HOME/.gvm/scripts/gvm"

if [[ -f "$GVM_BIN" ]]; then
    source "$GVM_BIN"
fi

export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=${PATH}:$GOBIN

Requirements

$ go get -u -d github.com/spf13/cobra/cobra
$ go get -u -d github.com/magefile/mage

Installing and testing


# install from github source
$ go install nuxx-cli

# install from project directory
$ go install

# run from project directory
$ go run main.go

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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