constants

package
v0.0.0-...-e6d1dd3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0 Copyright © 2021 Roberto Hidalgo <milpa@un.rob.mx>

Index

Constants

View Source
const EnvVarColorBitDepth = "COLORTERM"

EnvVarColorBitDepth is annoying because it's not set over ssh. It's also the least annoying way to find out if truecolor support is available see https://github.com/termstandard/colors#querying-the-terminal

View Source
const EnvVarCompaOut = "COMPA_OUT"
View Source
const EnvVarDebug = "DEBUG"
View Source
const EnvVarLookupGitDisabled = "MILPA_DISABLE_GIT"
View Source
const EnvVarLookupGlobalReposDisabled = "MILPA_DISABLE_GLOBAL_REPOS"
View Source
const EnvVarLookupUserReposDisabled = "MILPA_DISABLE_USER_REPOS" // nolint:gosec
View Source
const EnvVarMilpaPath = "MILPA_PATH"
View Source
const EnvVarMilpaPathParsed = "MILPA_PATH_PARSED"
View Source
const EnvVarMilpaRoot = "MILPA_ROOT"
View Source
const HelpCommandName = "help"
View Source
const Milpa = "milpa"
View Source
const OutputCommandKind = "MILPA_COMMAND_KIND"
View Source
const OutputCommandName = "MILPA_COMMAND_NAME"
View Source
const OutputCommandPath = "MILPA_COMMAND_PATH"
View Source
const OutputCommandRepo = "MILPA_COMMAND_REPO"
View Source
const OutputPrefixArg = "MILPA_ARG_"

Output variable prefixes.

View Source
const OutputPrefixOpt = "MILPA_OPT_"
View Source
const RepoCommandFolderName = "commands"
View Source
const RepoCommands = ".milpa/commands"
View Source
const RepoDocs = ".milpa/docs"
View Source
const RepoDocsFolderName = "docs"
View Source
const RepoDocsTemplateFolderName = ".template"
View Source
const RepoRoot = ".milpa"

Folder structure.

Variables

View Source
var OutputPrefixPattern = regexp.MustCompile(`\$\{?[#!]?MILPA_((OPT|ARG)_([0-9a-zA-Z_]+))`)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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