multitool 0.7.1__tar.gz → 0.7.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multitool-0.7.1 → multitool-0.7.2}/PKG-INFO +1 -1
- {multitool-0.7.1 → multitool-0.7.2}/multitool/__init__.py +1 -1
- {multitool-0.7.1 → multitool-0.7.2}/multitool/plugins/commands.py +3 -3
- {multitool-0.7.1 → multitool-0.7.2}/multitool/utils.py +5 -3
- {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/PKG-INFO +1 -1
- {multitool-0.7.1 → multitool-0.7.2}/pyproject.toml +1 -1
- {multitool-0.7.1 → multitool-0.7.2}/LICENSE +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/README.rst +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/__main__.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/cls.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/console.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/exceptions.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/plugins/__init__.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/silent.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/utils_init.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool/verbose.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/SOURCES.txt +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/dependency_links.txt +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/entry_points.txt +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/requires.txt +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/multitool.egg-info/top_level.txt +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/setup.cfg +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/tests/__init__.py +0 -0
- {multitool-0.7.1 → multitool-0.7.2}/tests/test_utils.py +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
APP = "multitool"
|
|
2
|
-
__version__ = "0.7.
|
|
2
|
+
__version__ = "0.7.2"
|
|
3
3
|
description = "Create and run plugin-based command-line tools."
|
|
4
4
|
long_description = ("Create and run plugin-based command-line tools by dynamically loading Click commands from local or Git-managed plugin repositories.")
|
|
5
5
|
|
|
@@ -381,7 +381,7 @@ def hello(
|
|
|
381
381
|
'''
|
|
382
382
|
)
|
|
383
383
|
|
|
384
|
-
(root / "
|
|
384
|
+
(root / f"{APP}-info.json").write_text("""{
|
|
385
385
|
"Homepage": "",
|
|
386
386
|
"Requires": "click",
|
|
387
387
|
"Maintainer": "",
|
|
@@ -403,9 +403,9 @@ def hello(
|
|
|
403
403
|
console.echo(f" {module}.py")
|
|
404
404
|
console.echo()
|
|
405
405
|
console.echo(" • To use this plugin locally:")
|
|
406
|
-
console.echo(" Copy the plugin directory into another
|
|
406
|
+
console.echo(f" Copy the plugin directory into another {APP}")
|
|
407
407
|
console.echo(" plugins directory:")
|
|
408
|
-
console.echo(" ~/.
|
|
408
|
+
console.echo(f" ~/.{APP}/plugins/")
|
|
409
409
|
console.echo()
|
|
410
410
|
console.echo(" • To distribute this plugin:")
|
|
411
411
|
console.echo(" 1. Initialize a Git repository.")
|
|
@@ -8,6 +8,8 @@ from pathlib import Path
|
|
|
8
8
|
|
|
9
9
|
import click
|
|
10
10
|
|
|
11
|
+
from multitool import APP
|
|
12
|
+
|
|
11
13
|
|
|
12
14
|
def configure_root_logger(log_file):
|
|
13
15
|
touch(log_file)
|
|
@@ -98,9 +100,9 @@ Plugin command names must be unique across all installed repositories.
|
|
|
98
100
|
To resolve this:
|
|
99
101
|
1. Delete one of the conflicting plugin repositories.
|
|
100
102
|
2. If the repository was installed from a remote source, remove or comment
|
|
101
|
-
out its entry in ~/.
|
|
102
|
-
`
|
|
103
|
-
`
|
|
103
|
+
out its entry in ~/.{APP}/plugins/config (or run
|
|
104
|
+
`{APP} plugins configure`) before running
|
|
105
|
+
`{APP} plugins update` again, otherwise it will be reinstalled.
|
|
104
106
|
3. Run the command again.
|
|
105
107
|
4. If another duplicate plugin error appears, repeat these steps until no
|
|
106
108
|
duplicate plugin command errors remain.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "multitool"
|
|
7
|
-
version = "0.7.
|
|
7
|
+
version = "0.7.2"
|
|
8
8
|
description = "Create and run plugin-based command-line tools."
|
|
9
9
|
readme = { file = "README.rst", content-type = "text/x-rst" }
|
|
10
10
|
requires-python = ">=3.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|