Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Stderr = struct { AnswerFile404 string AppDataDir string CannotCopyDirToDir string CannotDecodeAnswerFile string CannotInitFileChecker string CannotReadFile string CannotReadAnswerFile string CannotRemoveDir string CouldNot string CouldNotCloseFile string CouldNotDecode string CouldNotEncodeConfig string CouldNotMakeCacheDir string CouldNotSaveConf string CouldNotWriteFile string EmptyDirFilename string EmptyPlaceholderName string EmptyRegExp string FatalHeader string Filename string FileTooBig string FlagOrderErr string GettingAnswers string GitFetchFailed string GetLatestTag string GetRemoteTags string InvalidCmd string InvalidManifest string InvalidNoArgs string InvalidNoSubCmdArgs string InvalidPlaceholderName string InvalidRegExp string InvalidTmplDir string ManifestValidation string MissingTmplJson string MissingTmplJsonVersion string NewManifest string NoDir string NoGitTagFound string NoInput string NoPath string NoPlaceholder string NoSetting string ParseBool string ParseGenerateInput string ParseInt string ParseUInt string ParseValidateInput string ParsingConfigArgs string PathNotAllowed string PlaceholdersProperty string RunGitFailed string TmplManifest404 string TmplOutput string UnhandledHttpErr string ParsingFile string PathNotExist string }{ AnswerFile404: "could not find the answer file, please specify a path to a valid answer file that exist: given %q", AppDataDir: "the following error occurred trying to get the app data directory: %q", CannotCopyDirToDir: "could not copy %v to %v: %v", CannotDecodeAnswerFile: "could not decode JSON in answer file %q, because of: %s", CannotInitFileChecker: "cannot instantiate file extension checker: %v", CannotReadAnswerFile: "there was an error reading the answer file %q: %s", CannotReadFile: "could not read file %v: %v", CannotRemoveDir: "could not remove dir %v: %v", CouldNot: "could not %s", CouldNotCloseFile: "could not close file %v, %v", CouldNotDecode: "could not decode %q, error: %s", CouldNotEncodeConfig: "could not JSON encode user configuration settings, %v", CouldNotMakeCacheDir: "could not make cache directory, error: %s", CouldNotSaveConf: "could not save a config file, reason: %v", CouldNotWriteFile: "could not write file %v, reason: %v", EmptyDirFilename: "bad filename %q was set for property emptyDirFile", EmptyPlaceholderName: "empty placeholder %q, %q", EmptyRegExp: "regular expression validation rule was left empty, see rule: %v ", FatalHeader: "\nfatal error detected: ", Filename: "invalid filename/pattern %q", FileTooBig: "template file too big to parse, must be less thatn %v bytes", FlagOrderErr: "flag %v MUST come before any non-flag arguments, a fix would be to move this flag to the left of other input arguments", GettingAnswers: "problem getting answers; error %q", GetLatestTag: "failed to get latest tag from %v: %v", InvalidCmd: "invalid command %v", InvalidManifest: "invalid manifest found at %v, will replace it with the default", InvalidNoArgs: "invalid number of arguments passed to the config command, please see config -help for usage", InvalidNoSubCmdArgs: "subcommand %v takes at least %v arguments, run \"%[1]s -h\" for usage details", InvalidPlaceholderName: "invalid placeholder name %v", InvalidRegExp: "invalid regular expression %q, %v", InvalidTmplDir: "invalid template directory %q", ManifestValidation: "problem with manifest %v, %v", MissingTmplJson: "%s is a file that is required to be in the template, there was a problem reading %q; error %q", MissingTmplJsonVersion: "missing the Version property in template.json", NewManifest: "could not initialize a new manifest, %v", NoDir: "directory %v was not found", NoGitTagFound: "no tag found in %v", NoInput: "no input", NoPath: "unable to determine absolute path for %v, because %v", NoPlaceholder: "there is no placeholder %v", NoSetting: "no setting named %q found", ParseBool: "%v is not a valid boolean value", ParseGenerateInput: "could not parse generate input: %v", ParseInt: "could not parse %v as a integer, %v", ParseUInt: "could not parse %v as a natural number, %v", ParseValidateInput: "could not parse validate input: %v", ParsingConfigArgs: "error parsing config command args: %v", PathNotAllowed: "path/URL to template is not in the allow-list", PlaceholdersProperty: "bad placeholders variables %v, %v", TmplManifest404: "the required manifest %q file was not found", TmplOutput: "template has NOT been cloned locally", UnhandledHttpErr: "template Download aborted; I'm coded to NOT do anything when HTTP status is %q and status code is %d", ParsingFile: "could not parse file %v, error: %v", PathNotExist: "could not locate the path %v", }
View Source
var Stdout = struct { ActualArgs string AddFile string AppCacheDir string AppDataDir string Assignment string CloningToCache string ConfigMethodSetting string CopyAsIs string CurrentVersion string CurrentVersionInfo string Cwd string GeneratedManifest string MadeNewConfig string NoPlaceholders string NumNonFlagArgs string NumParsedFlags string Parsing string PlaceholderAnswerStat string PlaceholderHasAnswer string PrintAllFlags string PrintFlag string Processing string ProvideValues string ReadConfig string RelativeDir string RepoDir string RepoInfo string SaveData string SaveDir string SetValue string Skipping string TemplatePath string TemplatePlaceholders string TemplateVersion string UnknownFileType string UsageHeader string UsingCache string ValuesProvided string VarDefaultValue string VerboseLevelInfo string }{ ActualArgs: "actual arguments passed in: %v", AddFile: "adding file %v", AppCacheDir: "app cache dir = %v", AppDataDir: "app data dir is %v", Assignment: "%v = %q", CloningToCache: "no cache; cloning %v to %v", CopyAsIs: "file %v will be copied as-is", ConfigMethodSetting: "config.%v(%v)", CurrentVersion: "%v, %v", CurrentVersionInfo: "version: %v, %v", Cwd: "current working directory is %v", GeneratedManifest: "manifest generated %v", MadeNewConfig: "saved %d bytes to a new config %v", NoPlaceholders: "this template contains no placeholders/actions, which is ok", NumNonFlagArgs: "number of non-flag arguments passed in: %d", NumParsedFlags: "number of parsed flags = %v", Parsing: "parsing %v", PlaceholderAnswerStat: "please provide values for %v placeholders", PlaceholderHasAnswer: "placeholder %v has a value of %q, so skipping", PrintAllFlags: "printing all flags set:", PrintFlag: "\t%v = %v (default= %v)", Processing: "processing %v", ProvideValues: "note that entering no value will render the placeholder with an empty string", ReadConfig: "reading config file %v", RelativeDir: "relativePath dir: %v", RepoDir: "repoDir = %q", RepoInfo: "repo = %q; %q", SaveData: "save data: %s", SaveDir: "save dir: %v", SetValue: "%v value = %v", Skipping: "skipping: %v", TemplatePath: "template manifest path: %v", TemplatePlaceholders: "TmplJson.Placeholders = %v", TemplateVersion: "TmplJson.Version = %v", UsageHeader: "Usage: %v -[options] [args]", UsingCache: "using cache located at %v", UnknownFileType: "will skip and not process through template engine; could not detect file type for %v", ValuesProvided: "the following values have been provided", VarDefaultValue: "using default value for placeholder %v", VerboseLevelInfo: "verbose level: %v", }
Stdout helpful info to std out
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.