Skip to main content

get-cli

A simple unsafe cli tool to store and fetch data locally.

Need to fill in your parents zipcode on an online form?
Need to paste your linkedin profile on a job application?
Fetch them quickly from your terminal!
The value will be copied to your clipboard, and you can paste it BLAZINGLY FAST! :)

Dependencies

  • python 3.8+

Install

$ pip install get-cli

Quick start

$ get hello

world

Docs

Usage: get [OPTIONS] [KEY] COMMAND [ARGS]...

A simple unsafe tool to store and fetch values locally.                                                             
                                                                                                              
key [KEY] Retrieve value by key

Options
-------
--add  -a  TEXT  Create/update a key-value in the following format key:value. Batch support: -a key1:value1 -a key2:value2. Do not use colons (:) in your key names. Overrides if key already exists.
--list-keys  -lk,-l  List all keys
--list-items  -li  List all items (key-values)
--edit-with  -e  TEXT  Edit storage (.get.yml) with your favourite editor. Tested with vim, nano, code.

--install-completion  Install completion for the current shell.
--show-completion  Show completion for the current shell, to copy it or customize the installation.
--version  -v  Show the application's version
--help  Show this message and exit.

Tested on

  • macOS + Windows
  • python 3.8+

Currently does not support linux, possible extra packages need to be installed: https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error

Develop locally

Setup environment

  1. brew install pyenv pyenv
  2. pyenv install 3.11 (or 3.8 and above)
  3. install poetry
  4. python -m venv .venv
  5. source .venv/bin/activate
  6. poetry install

Run

  • Tests: poetry run python -m unittest
  • Run: poetry run python get_cli
  • Publish to pypi poetry publish --build (Don't forget to bump the version in pyporject.toml)

Metadata

Release files for get-cli 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-cli 0.1.4
File Size Uploaded Provenance
get_cli-0.1.4.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for get-cli 0.1.4
File Interpreter ABI Platform
get_cli-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / get_cli-0.1.4.tar.gz

Download URL get_cli-0.1.4.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6ff1167a5aa23d2563a6f67012eb8b87dfb11676b71fb305470bd09d5038e370
BLAKE2b-256 checksum
How to use checksums
1d25852acd42fe7210a1bd58fc99ee0738c1b8b33c83f508503e1c3ee4987a8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Darwin/22.5.0

Release files / get_cli-0.1.4-py3-none-any.whl

Download URL get_cli-0.1.4-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49edfd1527cf4a5db9453086873cc4d6648d5b36852f01e84d1692f98ce68a06
BLAKE2b-256 checksum
How to use checksums
c64ce68ac425a8fb32f766b954859c6de755be3adc8d2551ab8d01cc47e3a099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Darwin/22.5.0

Security for get-cli 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page