ConfigMate is a utility for managing and storing configuration settings, usernames, passwords, and other key-value pairs in a convenient way. It allows you to easily write, read, edit, delete, and copy these key-value pairs
configmate [-h] [-w <key> <value>] [-r <key>] [-d <key>] [-c <key>] [-l]cfm [-h] [-w <key> <value>] [-r <key>] [-d <key>] [-c <key>] [-l]-h: Display the help message.-w <key> <value>: Write or edit a key with a value.-r <key>: Read a key's value.-d <key>: Delete the key and its value.-c <key>: Copy a key's value to the clipboard.-l: List all keys.
-
Write or Edit a Key:
configmate -w username john_doe cfm -w username john_doe
-
Read a Key's Value:
configmate -r username cfm -r username
-
Delete a Key:
configmate -d username cfm -d username
-
Copy a Key's Value to Clipboard:
configmate -c username cfm -c username
-
List All Keys:
configmate -l cfm -l
- To install ConfigMate, simply run the following command:
sudo dpkg -i configmate.deb
xclipfor copying values to the clipboard. Install it using your package manager if not already installed.
- The script uses a simple configuration file (
configmate.conf) to store key-value pairs.