-
Notifications
You must be signed in to change notification settings - Fork 0
/
promethe.py
54 lines (44 loc) · 2.02 KB
/
promethe.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import typer
from rich import print
from network import tools
logo = """
)
((\
=== ___ ___ __ __
/_|_\ ---- / _ \_______ __ _ ___ / /_/ / ___
| ----- / ___/ __/ _ \/ ' \/ -_) __/ _ \/ -_)
\|/ _______/_/ /_/ \___/_/_/_/\__/\__/_//_/\__/
.── ── ── ── ── ── ── ── ── ── ── ── ── ── ──.
| |
| Prometheus ... |
| As your breed, we are bound to fall |
| But our light will scare the darkness |
| |
| --- Septicflesh |
| |
'── ── ── ── ── ── ── ── ── ── ── ── ── ── ──'
"""
app = typer.Typer(rich_markup_mode="rich", help="[bold bright_white]Desceription [bright_white]: [grey66]promethe is a "
"set of tools & an assistant for every Back-End developers.")
def show_logo():
"""
project logo
"""
print(f"[bright_red]{logo}")
@app.command()
def info():
"""
Show some useful info about tools
"""
print(f"[grey66] ● [bold bright_white]create @ Mon Jul 1 2019")
print(f"[grey66] ● [bold bright_white]Email [bright_white]: [grey66]mehran.safaripour@gmail.com")
print(f"[grey66] ● [bold bright_white]Github [bright_white]: [grey66]https://github.com/abysswarrior/promethe")
print(f"[grey66] ● [bold bright_white]Desceription [bright_white]: [grey66]promethe is a set of tools & \n"
f" ● an assistant for every Back-End developers")
print(f"[grey66] ● ")
print(
f"[red] ● [bold bright_green]:boom: NOTE[bright_green]: [grey66]to see a list of tools and commands type [white]--help\n\n")
app.add_typer(tools.app, name="network", rich_help_panel="Network Tools")
if __name__ == "__main__":
show_logo()
app()