internal

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: CC0-1.0 Imports: 18 Imported by: 0

Documentation

Overview

Package internal centralizes a lot of other boring configuration and startup logic into a common place.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCompletion added in v1.2.0

func HandleCompletion(args complete.Predictor, subcommands complete.Commands)

func HandleStartup

func HandleStartup()

HandleStartup optionally shows all software licenses or other things. This always loads from the following configuration sources in the following order:

  • command line flags (to get -config)
  • environment variables
  • configuration file (if -config is set)
  • command line flags

This is done this way to ensure that command line flags always are the deciding factor as an escape hatch.

Types

This section is empty.

Directories

Path Synopsis
Package flagenv provides the ability to populate flags from environment variables.
Package flagenv provides the ability to populate flags from environment variables.
Package gokrazy makes it easier to adapt tools to https://gokrazy.org.
Package gokrazy makes it easier to adapt tools to https://gokrazy.org.
Package kahless is a set of functions to copy files to https://xena.greedo.xeserv.us/files.
Package kahless is a set of functions to copy files to https://xena.greedo.xeserv.us/files.
Package mainsa is a small set of conversion or other useful utility functions for converting plane 432 units to ma Insa units.
Package mainsa is a small set of conversion or other useful utility functions for converting plane 432 units to ma Insa units.
Package manpage is a manpage generator based on command line flags from package flag.
Package manpage is a manpage generator based on command line flags from package flag.
Package minipaas is a set of functions for interfacing with minipaas.xeserv.us.
Package minipaas is a set of functions for interfacing with minipaas.xeserv.us.
Package tokipona adds a copyright notice that pu wants to the list of licenses.
Package tokipona adds a copyright notice that pu wants to the list of licenses.
Package yeet is a set of small helper functions useful for yeeting out scripts.
Package yeet is a set of small helper functions useful for yeeting out scripts.

Jump to

Keyboard shortcuts

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