Giter Site home page Giter Site logo

give-me's Introduction

give-me

A simple CLI program to help copy-pasting.


Requirements


Installation

$ git clone https://github.com/DrShahinstein/give-me.git
$ cd give-me/
$ poetry install
$ poetry run python -m give_me [OPTIONS] [ARGUMENTS]

Build

$ poetry build
$ cd dist/
[dist]$ pip install give_me-0.1.0-py3-none-any.whl
$ give_me [password_name | any_command]

Usage

First, let's create a new password.

$ poetry run python -m give_me create
Enter the name for your password: my_google_password
Password: # this is being typed out in here privately as it is a password
my_google_password created successfully!
You can now `give-me my_google_password` it

Let's see how it shows up in the list.

$ poetry run python -m give_me list
=> my_google_password: ***

If you'd like to view passwords visibly, add --no-private option

$ poetry run python -m give_me --no-private list
=> my_google_password: 123

Well, let's try to copy my_google_password to the clipboard.

$ poetry run python -m give-me my_google_password
'github_password' copied!

Now, let's see how removing a password works.

$ poetry run python -m give-me remove
Enter the name for your password to be removed: my_google_password
`my_google_password` removed successfully!
$  poetry run python -m give-me list
* No password available

give-me's People

Contributors

drshahinstein avatar

Stargazers

 avatar

Watchers

 avatar

give-me's Issues

Using poetry scripts option

Hey!

You can use Poetry's script option for the pyproject.toml file. Thus, installing the package with pip creates a script in .local/bin and you can call the script without the python -m prefix.

[tool.poetry.scripts]
cboard = 'cboard:main'

(I'd tell you in the chat but you would forget, now you can't close this issue without solving this ๐Ÿ˜ˆ )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.