aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yoshi/__main__.py4
-rw-r--r--yoshi/account.py2
-rw-r--r--yoshi/cli.py7
-rw-r--r--yoshi/process.py2
-rw-r--r--yoshi_cli.egg-info/PKG-INFO3
5 files changed, 11 insertions, 7 deletions
diff --git a/yoshi/__main__.py b/yoshi/__main__.py
index 7cadd21..b7e6c6f 100644
--- a/yoshi/__main__.py
+++ b/yoshi/__main__.py
@@ -1,3 +1,7 @@
+"""
+Entry point for the yoshi cli app.
+"""
+
if __name__ == "__main__":
from yoshi.cli import yoshi
yoshi()
diff --git a/yoshi/account.py b/yoshi/account.py
index bf97c23..fb42008 100644
--- a/yoshi/account.py
+++ b/yoshi/account.py
@@ -5,7 +5,7 @@ Modules imported:
- database: A custom module providing database functionality.
"""
-import yoshi.database as database
+from yoshi import database
class Account:
diff --git a/yoshi/cli.py b/yoshi/cli.py
index 56abae7..e140098 100644
--- a/yoshi/cli.py
+++ b/yoshi/cli.py
@@ -5,11 +5,12 @@ It imports the required modules and sets up a parser with basic options for demo
"""
import argparse
-import yoshi.crypto as crypto
-import yoshi.database as database
-import yoshi.process as process
+from yoshi import crypto, database, process
def yoshi():
+ """
+ CLI entry point logic, used to parse user inputs.
+ """
parser = argparse.ArgumentParser(
description='Manage your username and passwords via a convenient CLI vault.'
)
diff --git a/yoshi/process.py b/yoshi/process.py
index 155f9b0..107abfc 100644
--- a/yoshi/process.py
+++ b/yoshi/process.py
@@ -28,7 +28,7 @@ import random
import uuid
from prettytable import PrettyTable
from yoshi.account import Account
-import yoshi.database as database
+from yoshi import database
def generate_characters(n: int) -> list:
diff --git a/yoshi_cli.egg-info/PKG-INFO b/yoshi_cli.egg-info/PKG-INFO
index 085f3f6..028454d 100644
--- a/yoshi_cli.egg-info/PKG-INFO
+++ b/yoshi_cli.egg-info/PKG-INFO
@@ -48,8 +48,7 @@ To run the script locally, run the following commands:
```bash
git clone REPO_URL
cd yoshi
-pip3 install -r requirements.txt
-python3 src/yoshi/cli.py --help
+pip install .
```
# Usage