mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-05-15 14:10:22 +01:00
upd default --output path
This commit is contained in:
parent
6b22e02bb2
commit
bf9cb5bc22
@ -12,6 +12,7 @@
|
||||
# ///
|
||||
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
|
||||
import typer
|
||||
from click_man.core import write_man_pages
|
||||
@ -32,7 +33,10 @@ def parse_args():
|
||||
"""Parse command line arguments."""
|
||||
parser = argparse.ArgumentParser(description='Generate man pages for the CLI.')
|
||||
parser.add_argument(
|
||||
'--output', type=str, default='.', help='Directory to save man pages'
|
||||
'--output',
|
||||
type=str,
|
||||
default=str(Path(__file__).parent),
|
||||
help='Directory to save man pages',
|
||||
)
|
||||
return parser.parse_args()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user