lint

command
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 9 Imported by: 0

README

GO Feature Flag Lint cli

Status

[!WARNING]
The linter command has been deprecated in favor of the GO Feature Flag Command Line. Check the documentation for the GO Feature Flag Command Line for more information.

The lint command line tool validates that a flags file can be parsed by GO Feature Flag.

How to install the cli

Install using Homebrew (mac and linux)
brew tap thomaspoignant/homebrew-tap
brew install go-feature-flag-lint
Install using docker
docker pull gofeatureflag/go-feature-flag-lint

More information about the usage of the container in the dockerhub page.

How to use the cli

# example:
go-feature-flag-lint --input-format=yaml --input-file=/input/my-go-feature-flag-config.yaml

The command line has 2 parameters:

param description
--input-file (mandatory) The location of your configuration file.
--input-format (mandatory) The format of your current configuration file.
Available formats are yaml, json, toml.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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