Files
luk/src/cli/drive.py
2025-11-05 08:56:31 -05:00

13 lines
372 B
Python

import click
import subprocess
import os
@click.command()
def drive():
"""View OneDrive files."""
click.echo("Launching OneDrive viewer...")
# 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)