Skip to content

Commit

Permalink
rename to qmdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Nov 15, 2024
1 parent 04bbf89 commit 2e354da
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# qmds
# qmdx
**Q**om**m**an**ds**: execute shell pipelines against multiple inputs, diff/compare/join results

<!-- toc -->
Expand All @@ -18,7 +18,7 @@
## Install <a id="install"></a>

```bash
pip install qmds
pip install qmdx
```

## CLIs <a id="CLIs"></a>
Expand Down
Empty file removed qmds/__init__.py
Empty file.
9 changes: 0 additions & 9 deletions qmds/cli.py

This file was deleted.

4 changes: 2 additions & 2 deletions qmds/comm_x/__init__.py → qmdx/comm_x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from click import option, command
from utz import process

from qmds.cli import args, shell_exec_opt, no_shell_opt, verbose_opt, exec_cmd_opt
from qmds.utils import join_pipelines
from qmdx.cli import args, shell_exec_opt, no_shell_opt, verbose_opt, exec_cmd_opt
from qmdx.utils import join_pipelines


@command('comm-x', short_help='comm two files after running them through a pipeline of other commands', no_args_is_help=True)
Expand Down
4 changes: 2 additions & 2 deletions qmds/diff_x/__init__.py → qmdx/diff_x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from click import option, command

from qmds.cli import args, shell_exec_opt, no_shell_opt, verbose_opt, exec_cmd_opt
from qmds.utils import join_pipelines
from qmdx.cli import args, shell_exec_opt, no_shell_opt, verbose_opt, exec_cmd_opt
from qmdx.utils import join_pipelines

color_opt = option('-c', '--color', is_flag=True, help='Colorize the output')
unified_opt = option('-U', '--unified', type=int, help='Number of lines of context to show (passes through to `diff`)')
Expand Down
6 changes: 3 additions & 3 deletions qmds/git_diff_x/__init__.py → qmdx/git_diff_x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from click import option, argument, command
from utz import process

from qmds.cli import shell_exec_opt, no_shell_opt, verbose_opt, exec_cmd_opt
from qmds.diff_x import color_opt, unified_opt, ignore_whitespace_opt
from qmds.utils import join_pipelines
from qmdx.cli import shell_exec_opt, no_shell_opt, verbose_opt, exec_cmd_opt
from qmdx.diff_x import color_opt, unified_opt, ignore_whitespace_opt
from qmdx.utils import join_pipelines


@command('git-diff-x', short_help='Diff a Git-tracked file at two commits (or one commit vs. current worktree), optionally passing both through another command first')
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(
name='qmds',
name='qmdx',
version="0.0.1",
description="Qommands: execute shell pipelines against multiple inputs, diff/compare/join results",
long_description=open("README.md").read(),
Expand All @@ -10,14 +10,14 @@
install_requires=open("requirements.txt").read(),
entry_points={
'console_scripts': [
'diff-x = qmds.diff_x:main',
'comm-x = qmds.comm_x:main',
'git-diff-x = qmds.git_diff_x:main',
'diff-x = qmdx.diff_x:main',
'comm-x = qmdx.comm_x:main',
'git-diff-x = qmdx.git_diff_x:main',
],
},
license="MIT",
author="Ryan Williams",
author_email="[email protected]",
author_url="https://github.com/ryan-williams",
url="https://github.com/runsascoded/qmds",
url="https://github.com/runsascoded/qmdx",
)

0 comments on commit 2e354da

Please sign in to comment.