Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ConfigMate

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

Usage

configmate [-h] [-w <key> <value>] [-r <key>] [-d <key>] [-c <key>] [-l]

Alternative

cfm [-h] [-w <key> <value>] [-r <key>] [-d <key>] [-c <key>] [-l]

Options

  • -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.

Examples

  1. Write or Edit a Key:

    configmate -w username john_doe
    cfm -w username john_doe
  2. Read a Key's Value:

    configmate -r username
    cfm -r username
  3. Delete a Key:

    configmate -d username
    cfm -d username
  4. Copy a Key's Value to Clipboard:

    configmate -c username
    cfm -c username
  5. List All Keys:

    configmate -l
    cfm -l

Installation

  • To install ConfigMate, simply run the following command:
    sudo dpkg -i configmate.deb

Requirements

  • xclip for copying values to the clipboard. Install it using your package manager if not already installed.

Note

  • The script uses a simple configuration file (configmate.conf) to store key-value pairs.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages