nextmv 0.39.0.dev0__tar.gz → 0.39.0.dev1__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.
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/PKG-INFO +1 -1
- nextmv-0.39.0.dev1/nextmv/__about__.py +1 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cli/main.py +9 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cli/version.py +6 -2
- nextmv-0.39.0.dev1/tests/cli/test_version.py +16 -0
- nextmv-0.39.0.dev1/tests/test_entrypoint/__init__.py +0 -0
- nextmv-0.39.0.dev0/nextmv/__about__.py +0 -1
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/.gitignore +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/LICENSE +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/README.md +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/__entrypoint__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/_serialization.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/base_model.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cli/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/acceptance_test.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/account.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/application.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/assets.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/batch_experiment.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/client.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/ensemble.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/input_set.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/instance.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/integration.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/package.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/scenario.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/secrets.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/url.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/cloud/version.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/.gitignore +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/README.md +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/app.yaml +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/input.json +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/main.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/requirements.txt +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/src/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/default_app/src/visuals.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/deprecated.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/input.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/application.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/executor.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/geojson_handler.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/local.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/plotly_handler.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/local/runner.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/logger.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/manifest.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/model.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/options.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/output.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/polling.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/run.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/safe.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/nextmv/status.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/pyproject.toml +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/__init__.py +0 -0
- {nextmv-0.39.0.dev0/tests/cloud → nextmv-0.39.0.dev1/tests/cli}/__init__.py +0 -0
- {nextmv-0.39.0.dev0/tests/local → nextmv-0.39.0.dev1/tests/cloud}/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/cloud/app.yaml +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/cloud/test_client.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/cloud/test_instance.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/cloud/test_package.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/cloud/test_scenario.py +0 -0
- {nextmv-0.39.0.dev0/tests/scripts → nextmv-0.39.0.dev1/tests/local}/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/local/test_application.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/local/test_executor.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/local/test_runner.py +0 -0
- {nextmv-0.39.0.dev0/tests/test_entrypoint → nextmv-0.39.0.dev1/tests/scripts}/__init__.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options1.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options2.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options3.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options4.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options5.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options6.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options7.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/scripts/options_deprecated.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_base_model.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_entrypoint/test_entrypoint.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_input.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_inputs/test_data.csv +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_inputs/test_data.json +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_inputs/test_data.txt +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_logger.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_manifest.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_model.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_options.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_output.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_polling.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_run.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_safe.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_serialization.py +0 -0
- {nextmv-0.39.0.dev0 → nextmv-0.39.0.dev1}/tests/test_version.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "v0.39.0.dev1"
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The Nextmv Command Line Interface (CLI).
|
|
3
|
+
|
|
4
|
+
This module is the main entry point for the Nextmv CLI application.
|
|
5
|
+
"""
|
|
6
|
+
|
|
1
7
|
import typer
|
|
2
8
|
|
|
3
9
|
from nextmv.cli.version import app as version_app
|
|
4
10
|
|
|
11
|
+
# Main CLI application.
|
|
5
12
|
app = typer.Typer(
|
|
6
13
|
help="The Nextmv Command Line Interface (CLI).",
|
|
7
14
|
epilog="[italic]:rabbit: Made with :heart: by Nextmv.[/italic]",
|
|
8
15
|
rich_markup_mode="rich",
|
|
9
16
|
context_settings={"help_option_names": ["--help", "-h"]},
|
|
10
17
|
)
|
|
18
|
+
|
|
19
|
+
# Register subcommands.
|
|
11
20
|
app.add_typer(version_app)
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
This module defines the version command for the Nextmv CLI.
|
|
3
|
+
"""
|
|
4
|
+
|
|
1
5
|
import typer
|
|
2
|
-
from rich import print
|
|
3
6
|
|
|
4
7
|
from nextmv.__about__ import __version__
|
|
5
8
|
|
|
9
|
+
# Version subcommand application.
|
|
6
10
|
app = typer.Typer()
|
|
7
11
|
|
|
8
12
|
|
|
9
13
|
@app.command()
|
|
10
|
-
def version() ->
|
|
14
|
+
def version() -> None:
|
|
11
15
|
"""
|
|
12
16
|
Show the current version of the Nextmv CLI.
|
|
13
17
|
"""
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
|
|
3
|
+
from nextmv.__about__ import __version__
|
|
4
|
+
from nextmv.cli.main import app
|
|
5
|
+
from typer.testing import CliRunner
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TestVersion(unittest.TestCase):
|
|
9
|
+
def setUp(self):
|
|
10
|
+
self.runner = CliRunner()
|
|
11
|
+
self.app = app
|
|
12
|
+
|
|
13
|
+
def test_version_command(self):
|
|
14
|
+
result = self.runner.invoke(self.app, ["version"])
|
|
15
|
+
self.assertEqual(result.exit_code, 0)
|
|
16
|
+
self.assertIn(__version__, result.output)
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "v0.39.0.dev0"
|
|
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
|
|
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
|