kval

command module
v0.0.0-...-0c0cb8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 1 Imported by: 0

README

kval CLI Tool

The kval CLI Tool is a command-line tool that allows you to store and retrieve values locally on your computer. It provides a simple and convenient way to manage key-value pairs, making it ideal for storing and accessing configuration settings, temporary data, and other types of information that you need to persist locally.

Features:

  • Easy-to-use: The kval CLI Tool offers a user-friendly interface, allowing you to store and retrieve values with straightforward commands.
  • Key-Value Storage: It enables you to store data using key-value pairs, making it flexible for various use cases.
  • Secure Storage: Your values are stored locally on your computer, ensuring data privacy and security. Whether you need a convenient way to store configuration settings, API keys, or any other type of data locally, kval CLI Tool simplifies the process and provides a reliable solution for managing your stored values.

NOTE: This tool is a go-based version of this package: config-storage-cli.

⏬ Installation

To install this tool, you need to have installed Go. Then, run the next command:

go install github.com/vcgtz/kval@latest

Now you can use it by typing:

kval

▶ Available Commands

ls: list all your stored keys
kval ls
set: set a new key-value pair
kval set <KEY> <VALUE>
get: get a value from a key
kval get <KEY>

You can use the flag --copy or -c to copy the value to the clipboard:

kval get <KEY> -c
del: delete an existing key
kval del <KEY>
clean: remove all the key-value pairs stored
kval clean

License

MIT

Documentation

Overview

Copyright © 2023 Vicente Gutiérrez vicente@dotruntime.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL