wharfcmd

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 3 Imported by: 0

README

Wharf CI

Codacy Badge Go Reference

A command-line interface to run tasks specified in a .wharf-ci.yml file.

Installation

Requires Go 1.18 (or later)

go install github.com/iver-wharf/wharf-cmd/cmd/wharf@latest

Commands

Run

wharf run --namespace build --environment stage wharf-ci.yml

Components

Development

  1. Install

  2. Install formatters, protobuf dependencies, and linters:

    make deps
    
  3. Start hacking with your favorite tool. For example VS Code, GoLand, Vim, Emacs, or whatnot.

Linting

make lint

make lint-go # only lint Go code
make lint-md # only lint Markdown files
make lint-proto # only lint Protobuf (gRPC) files

Some errors can be fixed automatically. Keep in mind that this updates the files in place.

make lint-fix

make lint-fix-go # only lint and fix Go files
make lint-fix-md # only lint and fix Markdown files
make lint-fix-proto # only lint and fix Protobuf (gRPC) files

Maintained by Iver. Licensed under the MIT license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() (app.Version, error)

GetVersion returns this app's version.

Types

This section is empty.

Directories

Path Synopsis
api
cmd
internal
errutil
Package errutil is a utility package for errors.
Package errutil is a utility package for errors.
pkg
provisioner/provisionerserver/docs
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
wharfyml
Package wharfyml contains code for parsing and validating .wharf-ci.yml files.
Package wharfyml contains code for parsing and validating .wharf-ci.yml files.
worker/workerclient
Package workerclient provides a way to communicate with a Wharf worker server.
Package workerclient provides a way to communicate with a Wharf worker server.
worker/workerserver
Package workerserver provides a way for a worker to set up servers for both gRPC and HTTP communication.
Package workerserver provides a way for a worker to set up servers for both gRPC and HTTP communication.
worker/workerserver/docs
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag

Jump to

Keyboard shortcuts

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