package
0.0.0-20240309040849-9efaf8304f89
Repository: https://github.com/reeceeboii/pi-cli.git
Documentation: pkg.go.dev
# Functions
Searches for and deletes:
- the API key from the system keyring (if exists)
- the config file from the user's home directory (if exists)
*/.
Displays any saved configuration data to the user.
Validate that the config file and API key are in place.
Extracts a summary of data regarding the Pi-Hole's clients
*/.
Extracts all time top query data from the database file.
Disable the Pi-Hole.
Enable the Pi-Hole if it is not already enabled,
*/.
No description provided by the author
Extracts a quick summary of the previous 24/hr of data from the Pi-Hole.
Extract the current top 10 blocked domains that the FTL has filtered out and not forwarded
to the upstream DNS resolver
*/.
Extract the current top 10 permitted domains that have been forwarded to the upstream DNS resolver
*/.
Reads in data from the user and uses it to construct a config file that Pi-CLI can use
in the future.
# Variables
This is the main CLI app, it contains all the various commands and subcommands
that Pi-CLI is capable of responding to, and manages all of their corresponding flags
*/.