add project.toml
This commit is contained in:
15
project.toml
Normal file
15
project.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
readme = "README.md"
|
||||
dependencies = [
|
||||
"PyQt5>0.0",
|
||||
"gnuradio>0.0",
|
||||
"sys>0.0",
|
||||
"signal>0.0",
|
||||
"argparse>0.0",
|
||||
"threading>0.0",
|
||||
"time"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://git.therats.win/jazz/skitter"
|
||||
|
||||
12
src/help.py
12
src/help.py
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
VERSION = "0.0.0"
|
||||
BANNER = r'''
|
||||
BANNER = '''\x1b[34m
|
||||
▗▖ █
|
||||
▐▌ ▀ ▐▌ ▐▌
|
||||
▗▟██▖▐▌▟▛ ██ ▐███ ▐███ ▟█▙ █▟█▌
|
||||
@@ -8,9 +8,9 @@ BANNER = r'''
|
||||
▀▀█▖▐▛█▖ █ ▐▌ ▐▌ ▐▛▀▀▘ █
|
||||
▐▄▄▟▌▐▌▝▙ ▗▄█▄▖ ▐▙▄ ▐▙▄ ▝█▄▄▌ █
|
||||
▀▀▀ ▝▘ ▀▘▝▀▀▀▘ ▀▀ ▀▀ ▝▀▀ ▀
|
||||
'''
|
||||
\x1b[0m'''
|
||||
|
||||
USAGE = r'''
|
||||
USAGE = '''
|
||||
./skitter.py [--band|-b FREQ] [--squelch|-s LEVEL] [--rate|-r SPEED] [--output|-o DIR]
|
||||
|
||||
--band
|
||||
@@ -36,9 +36,9 @@ USAGE = r'''
|
||||
You might want to create a new directory for recordings.
|
||||
'''
|
||||
|
||||
def help():
|
||||
def print_help():
|
||||
print(BANNER)
|
||||
print(f"skitter v{VERSION}")
|
||||
print(f"skitter v\x1b[33m{VERSION}\x1b[0m")
|
||||
print(USAGE)
|
||||
|
||||
help()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user