devnomads-cli 0.17.3__tar.gz → 0.17.4__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.
Files changed (26) hide show
  1. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/PKG-INFO +1 -1
  2. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/devnomads_cli.egg-info/PKG-INFO +1 -1
  3. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/dncli.py +65 -2
  4. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/pyproject.toml +1 -1
  5. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/LICENSE +0 -0
  6. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/README.md +0 -0
  7. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/devnomads_cli.egg-info/SOURCES.txt +0 -0
  8. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/devnomads_cli.egg-info/dependency_links.txt +0 -0
  9. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/devnomads_cli.egg-info/entry_points.txt +0 -0
  10. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/devnomads_cli.egg-info/requires.txt +0 -0
  11. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/devnomads_cli.egg-info/top_level.txt +0 -0
  12. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/setup.cfg +0 -0
  13. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_agent_features.py +0 -0
  14. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_cert.py +0 -0
  15. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_cli.py +0 -0
  16. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_config.py +0 -0
  17. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_generate.py +0 -0
  18. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_generated_cli.py +0 -0
  19. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_helpers.py +0 -0
  20. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_hook.py +0 -0
  21. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_sites_publish.py +0 -0
  22. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_sites_ssh.py +0 -0
  23. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_skill_install.py +0 -0
  24. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_ssh_keys.py +0 -0
  25. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_transfer.py +0 -0
  26. {devnomads_cli-0.17.3 → devnomads_cli-0.17.4}/tests/test_versions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devnomads-cli
3
- Version: 0.17.3
3
+ Version: 0.17.4
4
4
  Summary: Manage your DevNomads services from the command line
5
5
  Author-email: DevNomads <support@devnomads.nl>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devnomads-cli
3
- Version: 0.17.3
3
+ Version: 0.17.4
4
4
  Summary: Manage your DevNomads services from the command line
5
5
  Author-email: DevNomads <support@devnomads.nl>
6
6
  License: MIT
@@ -72,7 +72,7 @@ from rich.markup import escape
72
72
  from rich.table import Table
73
73
  from typer.core import TyperGroup
74
74
 
75
- __version__ = "0.17.3"
75
+ __version__ = "0.17.4"
76
76
 
77
77
  # Distribution names, for reporting versions via `dncli version`.
78
78
  CLI_PACKAGE = "devnomads-cli"
@@ -4022,7 +4022,7 @@ def _wait_for_batch(
4022
4022
 
4023
4023
  # --- BEGIN GENERATED COMMANDS (tools/generate.py; do not edit by hand) ---
4024
4024
 
4025
- API_VERSION = "0.6.33"
4025
+ API_VERSION = "0.6.34"
4026
4026
  SKILL_MD = """\
4027
4027
  ---
4028
4028
  name: devnomads
@@ -5647,6 +5647,22 @@ COMMAND_META: dict[str, dict[str, Any]] = {
5647
5647
  "background": True,
5648
5648
  "billing": True,
5649
5649
  },
5650
+ "servers templates list": {
5651
+ "method": "GET",
5652
+ "path": "/services/servers/templates",
5653
+ "changes": False,
5654
+ "confirm": False,
5655
+ "background": False,
5656
+ "billing": False,
5657
+ },
5658
+ "servers templates show": {
5659
+ "method": "GET",
5660
+ "path": "/services/servers/templates/{templateId}",
5661
+ "changes": False,
5662
+ "confirm": False,
5663
+ "background": False,
5664
+ "billing": False,
5665
+ },
5650
5666
  "servers update": {
5651
5667
  "method": "PUT",
5652
5668
  "path": "/services/servers/{serviceId}",
@@ -6087,6 +6103,10 @@ gen_servers_snapshots = typer.Typer(
6087
6103
  cls=PrefixGroup, help="Disk snapshots of a server.", no_args_is_help=True
6088
6104
  )
6089
6105
  gen_servers.add_typer(gen_servers_snapshots, name="snapshots")
6106
+ gen_servers_templates = typer.Typer(
6107
+ cls=PrefixGroup, help="Manage servers templates.", no_args_is_help=True
6108
+ )
6109
+ gen_servers.add_typer(gen_servers_templates, name="templates")
6090
6110
  gen_services_jobs = typer.Typer(
6091
6111
  cls=PrefixGroup, help="Background jobs of one service.", no_args_is_help=True
6092
6112
  )
@@ -11391,6 +11411,49 @@ def gen_services_servers_store(
11391
11411
  )
11392
11412
 
11393
11413
 
11414
+ @gen_servers_templates.command("list")
11415
+ def gen_services_servers_templates_index(
11416
+ ctx: typer.Context,
11417
+ sort: str | None = _SORT_OPT,
11418
+ timeout: int = _TIMEOUT_OPT,
11419
+ output: OutputFormat | None = _OUTPUT_OPT,
11420
+ columns: str | None = _COLUMNS_OPT,
11421
+ ) -> None:
11422
+ """Get list of server templates."""
11423
+
11424
+ _generated_call(
11425
+ ctx,
11426
+ "GET",
11427
+ "/services/servers/templates",
11428
+ {},
11429
+ sort=sort,
11430
+ timeout=timeout,
11431
+ output=output,
11432
+ select=columns,
11433
+ )
11434
+
11435
+
11436
+ @gen_servers_templates.command("show")
11437
+ def gen_services_servers_templates_show(
11438
+ ctx: typer.Context,
11439
+ template_id: int = typer.Argument(..., metavar="TEMPLATE_ID"),
11440
+ timeout: int = _TIMEOUT_OPT,
11441
+ output: OutputFormat | None = _OUTPUT_OPT,
11442
+ columns: str | None = _COLUMNS_OPT,
11443
+ ) -> None:
11444
+ """Show server template."""
11445
+
11446
+ _generated_call(
11447
+ ctx,
11448
+ "GET",
11449
+ "/services/servers/templates/{templateId}",
11450
+ {"templateId": template_id},
11451
+ timeout=timeout,
11452
+ output=output,
11453
+ select=columns,
11454
+ )
11455
+
11456
+
11394
11457
  @gen_servers.command("update")
11395
11458
  def gen_services_servers_update(
11396
11459
  ctx: typer.Context,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "devnomads-cli"
3
- version = "0.17.3"
3
+ version = "0.17.4"
4
4
  description = "Manage your DevNomads services from the command line"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes
File without changes