docput 1.0.1__tar.gz → 1.0.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.
- {docput-1.0.1 → docput-1.0.2}/CHANGELOG.md +7 -0
- {docput-1.0.1 → docput-1.0.2}/PKG-INFO +1 -1
- {docput-1.0.1 → docput-1.0.2}/src/docput/cli/main.py +4 -3
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/PKG-INFO +1 -1
- docput-1.0.2/src/docput.egg-info/scm_version.json +8 -0
- docput-1.0.1/src/docput.egg-info/scm_version.json +0 -8
- {docput-1.0.1 → docput-1.0.2}/.forgejo/workflows/push.yml +0 -0
- {docput-1.0.1 → docput-1.0.2}/.gitignore +0 -0
- {docput-1.0.1 → docput-1.0.2}/Justfile +0 -0
- {docput-1.0.1 → docput-1.0.2}/LICENSE.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/README.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/.gitignore +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/Justfile +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_include/forgejo-hover.svg +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_include/forgejo-monochrome.svg +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_include/pypi-hover.svg +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_include/pypi-monochrome.svg +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_root/_headers +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_root/_redirects +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_static/css/custom.css +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/_templates/page.html +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/commands/index.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/commands/manifest.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/commands/version.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/conf.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/index.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/installation.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/user_guide.md +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/version-manifest.json +0 -0
- {docput-1.0.1 → docput-1.0.2}/docs/version-marker.json +0 -0
- {docput-1.0.1 → docput-1.0.2}/pyproject.toml +0 -0
- {docput-1.0.1 → docput-1.0.2}/setup.cfg +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/__init__.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/__main__.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/cli/__init__.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/cli/manifest.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/cli/version.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/config.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/manifest.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/remote/__init__.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/remote/base.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/remote/filesystem.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/remote/git_pages.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/scripts/docput.js +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/sphinx_ext/__init__.py +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput/sphinx_ext/_templates/sidebar/version-switch.html +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/SOURCES.txt +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/dependency_links.txt +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/entry_points.txt +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/requires.txt +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/scm_file_list.json +0 -0
- {docput-1.0.1 → docput-1.0.2}/src/docput.egg-info/top_level.txt +0 -0
- {docput-1.0.1 → docput-1.0.2}/tests/test_remotes.py +0 -0
|
@@ -47,15 +47,16 @@ def pass_remote[R, **P](f: Callable[Concatenate[Remote, P], R]) -> Callable[P, R
|
|
|
47
47
|
@click.option(
|
|
48
48
|
"--remote",
|
|
49
49
|
"-r",
|
|
50
|
-
required=
|
|
50
|
+
required=False,
|
|
51
51
|
type=RemoteParamType(),
|
|
52
52
|
envvar="DOCPUT_REMOTE",
|
|
53
53
|
show_envvar=True,
|
|
54
54
|
help="Remote to interact with",
|
|
55
55
|
)
|
|
56
56
|
@click.pass_context
|
|
57
|
-
def main_group(ctx: click.Context, remote: Remote):
|
|
58
|
-
|
|
57
|
+
def main_group(ctx: click.Context, remote: Remote | None):
|
|
58
|
+
if remote is not None:
|
|
59
|
+
ctx.obj = remote
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
@main_group.command(short_help="Download a file.")
|
|
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
|
|
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
|
|
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
|