krz/yoshi-cli

Archived

A password manager for the command line. cli password-manager terminal

Commit fe31857c7d

fe31857c7d5b90c90784d83b12326c0ba80ff019

parent: 84fbb3ea67

Verified · cmc

cmc <hello@cleberg.net> · 2024-11-07 05:27 UTC

fix pylint errors

Layout: unified · split

yoshi/__main__.py +4
@@ -1,3 +1,7 @@
1"""
2Entry point for the yoshi cli app.
3"""
4
1if __name__ == "__main__": 5if __name__ == "__main__":
2 from yoshi.cli import yoshi 6 from yoshi.cli import yoshi
3 yoshi() 7 yoshi()
yoshi/account.py +1 −1
@@ -5,7 +5,7 @@ Modules imported:
5 - database: A custom module providing database functionality. 5 - database: A custom module providing database functionality.
6""" 6"""
7 7
8import yoshi.database as database 8from yoshi import database
9 9
10 10
11class Account: 11class Account:
yoshi/cli.py +4 −3
@@ -5,11 +5,12 @@ It imports the required modules and sets up a parser with basic options for demo
5""" 5"""
6 6
7import argparse 7import argparse
8import yoshi.crypto as crypto 8from yoshi import crypto, database, process
9import yoshi.database as database
10import yoshi.process as process
11 9
12def yoshi(): 10def yoshi():
11 """
12 CLI entry point logic, used to parse user inputs.
13 """
13 parser = argparse.ArgumentParser( 14 parser = argparse.ArgumentParser(
14 description='Manage your username and passwords via a convenient CLI vault.' 15 description='Manage your username and passwords via a convenient CLI vault.'
15 ) 16 )
yoshi/process.py +1 −1
@@ -28,7 +28,7 @@ import random
28import uuid 28import uuid
29from prettytable import PrettyTable 29from prettytable import PrettyTable
30from yoshi.account import Account 30from yoshi.account import Account
31import yoshi.database as database 31from yoshi import database
32 32
33 33
34def generate_characters(n: int) -> list: 34def generate_characters(n: int) -> list:
yoshi_cli.egg-info/PKG-INFO +1 −2
@@ -48,8 +48,7 @@ To run the script locally, run the following commands:
48```bash 48```bash
49git clone REPO_URL 49git clone REPO_URL
50cd yoshi 50cd yoshi
51pip3 install -r requirements.txt 51pip install .
52python3 src/yoshi/cli.py --help
53``` 52```
54 53
55# Usage 54# Usage