knope

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

Knope

Build Status codecov Go Report Card

I am super chill all the time!

CLI tool for retrieving data from AWS CodeBuild

Usage:
  knope [command]

Available Commands:
  builds      List all the builds for a given project
  help        Help about any command
  overview    Will provide an overview of the last build per project
  projects    List all the projects

Flags:
      --config string   config file (default is $HOME/.benmatselby/knope.yaml)
  -h, --help            help for knope

Use "knope [command] --help" for more information about a command.

Requirements

If you are wanting to build and develop this, you will need the following items installed.

  • Go version 1.12+

Configuration

You will need the following environment variables defining:

export AWS_DEFAULT_REGION=""
export AWS_PROFILE=""

Installation via Git

git clone git@github.com:benmatselby/knope.git
cd knope
make all
./knope

You can also install into your $GOPATH/bin by running make build && go install.

Testing

To generate the code used to mock away the CodeBuild interaction, run the following command.

mockgen -source client/client.go

This will generate you some source code you can copy into client/mock_client.go. You will need to change the package to client.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package mock_client is a generated GoMock package.
Package mock_client is a generated GoMock package.

Jump to

Keyboard shortcuts

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