flags

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package flags is a helper module that can be used to provide common functionality for flag sets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Usage

func Usage(help string, flags *flag.FlagSet) string

Usage takes a help string and a flag set and appends the flags and their descriptions below the help string and returns it. This is to standardize the usage function across the different environments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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