13 lines
328 B
Python
13 lines
328 B
Python
|
|
#!/usr/bin/env python3
|
||
|
|
from rich.console import Console
|
||
|
|
from rich.markdown import Markdown
|
||
|
|
import importlib.resources
|
||
|
|
|
||
|
|
def main():
|
||
|
|
|
||
|
|
try:
|
||
|
|
with importlib.resources.open_text('kpr_docs', 'kpr_docs.txt') as f:
|
||
|
|
print(f.read())
|
||
|
|
except FileNotFoundError:
|
||
|
|
print("Documentation file not found.")
|