Skip to content

Commit

Permalink
add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Nov 15, 2024
1 parent 2097394 commit d1a18f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions qmdx/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .utils import join_pipelines, get_git_root, get_dir_path
9 changes: 9 additions & 0 deletions qmdx/cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from os import environ as env

from click import option, argument

shell_exec_opt = option('-s', '--shell-executable', help=f'Shell to use for executing commands; defaults to $SHELL ({env.get("SHELL")})')
no_shell_opt = option('-S', '--no-shell', is_flag=True, help="Don't pass `shell=True` to Python `subprocess`es")
verbose_opt = option('-v', '--verbose', is_flag=True, help="Log intermediate commands to stderr")
exec_cmd_opt = option('-x', '--exec-cmd', 'exec_cmds', multiple=True, help='Command(s) to execute before invoking `comm`; alternate syntax to passing commands as positional arguments')
args = argument('args', metavar='[exec_cmd...] <path1> <path2>', nargs=-1)

0 comments on commit d1a18f5

Please sign in to comment.