An open API service indexing awesome lists of open source software.

https://github.com/zepatrik/cobrax

Library with helpers for https://github.com/spf13/cobra. Makes commands composable and reusable, and makes testing easier.
https://github.com/zepatrik/cobrax

cli cobra cobra-cli testing

Last synced: about 1 year ago
JSON representation

Library with helpers for https://github.com/spf13/cobra. Makes commands composable and reusable, and makes testing easier.

Awesome Lists containing this project

README

          

# Cobrax - Helpers for [spf13/cobra](https://github.com/spf13/cobra)

This project provides helpers for the commonly used [spf13/cobra](https://github.com/spf13/cobra) library.
It specifically aims to make commands composable and reusable, as well as to make testing easier.

## Installation

```bash
go get github.com/zepatrik/cobrax
```

## Usage

Extensive documentation is available on https://pkg.go.dev/github.com/zepatrik/cobrax.

## About

This project is based on all the small tweaks and helpers I have accumulated over the years of using cobra while working
on [Ory projects](https://github.com/ory). This library might be transferred to the Ory organization in the future.