package
0.0.0-20241127072548-cd62ce96a102
Repository: https://github.com/hubmakerlabs/hoover.git
Documentation: pkg.go.dev
# Functions
EnsureDir checks a file could be written to a path, creates the directories as needed.
FileExists reports whether the named file or directory exists.
GetWallet loads an arweave wallet JSON file from the provided path for connection with a specified arweave gateway endpoint.
HelpRequested returns true if any of the common types of help invocation are found as the first command line parameter/flag.
NewConfig creates a new Config struct and loads it from environment variables and .env file based on a configured ROOT_DIR/PROFILE directory location which can be overridden in the environment to refer to a custom location.
PrintHelp outputs a help text listing the configuration options and default values to a provided io.Writer (usually os.Stderr or os.Stdout).
# Constants
No description provided by the author