gitlab feature start
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import click
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
|
||||
@click.command()
|
||||
def drive():
|
||||
"""View OneDrive files."""
|
||||
click.echo("Launching OneDrive viewer...")
|
||||
subprocess.run(["python3", "src/drive_view_tui.py"])
|
||||
# Get the directory containing this file, then go up to project root
|
||||
current_dir = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
||||
subprocess.run(["python3", "drive_view_tui.py"], cwd=current_dir)
|
||||
|
||||
Reference in New Issue
Block a user