FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docpixie/docpixie/cli.py at main · kteamdeveloper/docpixie · GitHub
kteamdeveloper
/
docpixie
Public
forked from
qnguyen3/docpixie
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docpixie
/
docpixie
/
cli.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
26 lines (20 loc) · 664 Bytes
Breadcrumbs
docpixie
/
docpixie
/
cli.py
Copy path
File metadata and controls
executable file
·
26 lines (20 loc) · 664 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!/usr/bin/env python3
"""
DocPixie CLI - Modern terminal interface for document chat
"""
import
sys
def
main
():
"""Main entry point for DocPixie CLI"""
try
:
# Try to import and use the new Textual CLI
from
docpixie
.
cli
.
app
import
main
as
textual_main
textual_main
()
except
ImportError
as
e
:
# Fallback to legacy CLI if Textual is not installed
print
(
"Note: Textual not installed. Using legacy CLI."
)
print
(
"Install with: pip install textual>=0.47.0"
)
print
(
""
)
from
docpixie
.
cli
.
legacy
import
main
as
legacy_main
legacy_main
()
if
__name__
==
"__main__"
:
main
()
Back
|
FazBrowse Home
|
New Git URL