Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the additional parsers to support multiple import formats. #3

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

elidhu
Copy link
Owner

@elidhu elidhu commented Sep 29, 2020

The underlying koanf library supports json, toml and yaml in addition
to dotenv. The goss import command now supports these other formats
through the use of the --format flag.

goss import -f test.toml -t SecureString -p /dev --format toml

The underlying `koanf` library supports json, toml and yaml in addition
to dotenv. The goss import command now supports these other formats
through the use of the `--format flag`.

```bash
goss import -f test.toml -t SecureString -p /dev --format toml
```
@elidhu elidhu merged commit 7e11609 into master Sep 29, 2020
Copy link

@GitOpsBot GitOpsBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GoGitOps Review

Grade: A+ (97.4%)

Files: 9

Issues: 3

gofmt: 100%

go_vet: 100%

golint: 77%

cmd/completion.go
	Line 1: warning: package comment should be of the form "Package cmd ..." (golint)
cmd/env.go
	Line 1: warning: package comment should be of the form "Package cmd ..." (golint)

gocyclo: 100%

ineffassign: 100%

license: 100%

misspell: 88%

cmd/root.go
	Line 20: warning: "Paramter" is a misspelling of "Parameter" (misspell)

This report was generated using GoGitOps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants