Skip to content

iver-wharf/wharf-cmd

Repository files navigation

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.

About

Command-line interface, execution engine, & HTTP APIs to run .wharf-ci.yml files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages