-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Senzing/3.dockter.1
3.dockter.1
- Loading branch information
Showing
33 changed files
with
858 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ | |
|
||
# Go workspace file | ||
go.work | ||
.history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,42 @@ | ||
# go-cmdhelping | ||
Helpers for using cobra and viper | ||
|
||
## :warning: WARNING: go-cmdhelping is still in development :warning: _ | ||
|
||
At the moment, this is "work-in-progress" with Semantic Versions of `0.n.x`. | ||
Although it can be reviewed and commented on, | ||
the recommendation is not to use it yet. | ||
|
||
## Synopsis | ||
|
||
`go-cmdhelping` contains utility packages for working with | ||
[viper](https://github.com/spf13/viper) and | ||
[cobra](https://github.com/spf13/cobra) | ||
|
||
[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/go-cmdhelping.svg)](https://pkg.go.dev/github.com/senzing/go-cmdhelping) | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/senzing/go-cmdhelping)](https://goreportcard.com/report/github.com/senzing/go-cmdhelping) | ||
[![go-test.yaml](https://github.com/Senzing/go-cmdhelping/actions/workflows/go-test.yaml/badge.svg)](https://github.com/Senzing/go-cmdhelping/actions/workflows/go-test.yaml) | ||
[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/Senzing/go-cmdhelping/blob/main/LICENSE) | ||
|
||
## Overview | ||
|
||
`go-cmdhelping` is an opinionated use of | ||
[viper](https://github.com/spf13/viper) and | ||
[cobra](https://github.com/spf13/cobra). | ||
|
||
Context variables are specified in a list of | ||
[option.ContextVariable](option/option.go). | ||
|
||
The `[]option.ContextVariable` list is processed by functions in the | ||
[cmdhelper](cmdhelper) package. | ||
|
||
## Use | ||
|
||
See | ||
[main.go](main.go) | ||
for an example of use. | ||
|
||
## References | ||
|
||
- [Development](docs/development.md) | ||
- [Errors](docs/errors.md) | ||
- [Examples](docs/examples.md) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.