devnomads-cli 0.17.0__tar.gz → 0.17.1__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.0 → devnomads_cli-0.17.1}/PKG-INFO +28 -5
  2. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/README.md +27 -4
  3. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/devnomads_cli.egg-info/PKG-INFO +28 -5
  4. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/dncli.py +1 -1
  5. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/pyproject.toml +1 -1
  6. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/LICENSE +0 -0
  7. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/devnomads_cli.egg-info/SOURCES.txt +0 -0
  8. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/devnomads_cli.egg-info/dependency_links.txt +0 -0
  9. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/devnomads_cli.egg-info/entry_points.txt +0 -0
  10. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/devnomads_cli.egg-info/requires.txt +0 -0
  11. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/devnomads_cli.egg-info/top_level.txt +0 -0
  12. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/setup.cfg +0 -0
  13. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_agent_features.py +0 -0
  14. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_cert.py +0 -0
  15. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_cli.py +0 -0
  16. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_config.py +0 -0
  17. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_generate.py +0 -0
  18. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_generated_cli.py +0 -0
  19. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_helpers.py +0 -0
  20. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_hook.py +0 -0
  21. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_sites_publish.py +0 -0
  22. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_sites_ssh.py +0 -0
  23. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_skill_install.py +0 -0
  24. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_ssh_keys.py +0 -0
  25. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/tests/test_transfer.py +0 -0
  26. {devnomads_cli-0.17.0 → devnomads_cli-0.17.1}/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.0
3
+ Version: 0.17.1
4
4
  Summary: Manage your DevNomads services from the command line
5
5
  Author-email: DevNomads <support@devnomads.nl>
6
6
  License: MIT
@@ -27,13 +27,19 @@ as **`devnomads-cli`**.
27
27
  ## Install
28
28
 
29
29
  Install dncli with [uv](https://docs.astral.sh/uv/). It gives dncli
30
- its own isolated environment and puts the `dncli` command on your
31
- PATH:
30
+ its own isolated environment and installs the `dncli` command in
31
+ `~/.local/bin`:
32
32
 
33
33
  ```sh
34
34
  uv tool install devnomads-cli
35
+ uv tool update-shell # adds ~/.local/bin to your PATH, if it isn't yet
35
36
  ```
36
37
 
38
+ Then open a new terminal so the PATH change takes effect. On a fresh
39
+ machine, and on macOS in particular, `~/.local/bin` is not on your PATH
40
+ by default, so without this step the shell reports `dncli: command not
41
+ found`.
42
+
37
43
  No uv yet? Install it first:
38
44
 
39
45
  ```sh
@@ -41,9 +47,23 @@ curl -LsSf https://astral.sh/uv/install.sh | sh #
41
47
  powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows
42
48
  ```
43
49
 
50
+ The installer adds `~/.local/bin` to your shell profile, but only new
51
+ terminals pick that up: open a new one before running `uv tool install`.
52
+
44
53
  pipx (`pipx install devnomads-cli`) and pip (`pip install
45
54
  devnomads-cli`) work as well.
46
55
 
56
+ **Windows: `DLL load failed while importing _ctypes`.** When no Python is
57
+ installed, uv downloads its own Python build. On Windows with Smart App
58
+ Control or an App Control policy, that build's DLLs can be blocked ("…
59
+ blocked by an application control policy"). Install the official Python
60
+ and tell uv to use it instead; `--force` replaces the broken install:
61
+
62
+ ```powershell
63
+ winget install Python.Python.3.12
64
+ uv tool install devnomads-cli --python-preference only-system --force
65
+ ```
66
+
47
67
  ### Updates
48
68
 
49
69
  Upgrade with:
@@ -296,7 +316,7 @@ fields, and reports an error on an unknown column name.
296
316
 
297
317
  Commands that take a service id also accept a unique entity name and
298
318
  resolve it for you, so `dncli domains show example.com` works as well
299
- as `dncli domains show 1234`. Clients, SSH keys, clusters, hypervisors,
319
+ as `dncli domains show 1234`. Clients, SSH keys, clusters, nameserver groups, hypervisors,
300
320
  database users and volumes take a name too, as an argument or an
301
321
  option: `dncli databases permissions create stelling_bg25 --user-id stelling`. The
302
322
  help of each such option says which field it matches. Names match
@@ -366,7 +386,10 @@ dncli skill install --project # into the current project instead
366
386
  ```
367
387
 
368
388
  Run it again after upgrading dncli to update the skill; `dncli skill
369
- show` prints it.
389
+ show` prints it. A copy an older dncli installed is replaced without
390
+ asking; a copy someone edited is replaced only after one confirmation
391
+ for all of them. When an installed copy is older than your dncli, dncli
392
+ says so (at a terminal, at most once a day, like the update notice).
370
393
 
371
394
  ## Certificates
372
395
 
@@ -11,13 +11,19 @@ as **`devnomads-cli`**.
11
11
  ## Install
12
12
 
13
13
  Install dncli with [uv](https://docs.astral.sh/uv/). It gives dncli
14
- its own isolated environment and puts the `dncli` command on your
15
- PATH:
14
+ its own isolated environment and installs the `dncli` command in
15
+ `~/.local/bin`:
16
16
 
17
17
  ```sh
18
18
  uv tool install devnomads-cli
19
+ uv tool update-shell # adds ~/.local/bin to your PATH, if it isn't yet
19
20
  ```
20
21
 
22
+ Then open a new terminal so the PATH change takes effect. On a fresh
23
+ machine, and on macOS in particular, `~/.local/bin` is not on your PATH
24
+ by default, so without this step the shell reports `dncli: command not
25
+ found`.
26
+
21
27
  No uv yet? Install it first:
22
28
 
23
29
  ```sh
@@ -25,9 +31,23 @@ curl -LsSf https://astral.sh/uv/install.sh | sh #
25
31
  powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows
26
32
  ```
27
33
 
34
+ The installer adds `~/.local/bin` to your shell profile, but only new
35
+ terminals pick that up: open a new one before running `uv tool install`.
36
+
28
37
  pipx (`pipx install devnomads-cli`) and pip (`pip install
29
38
  devnomads-cli`) work as well.
30
39
 
40
+ **Windows: `DLL load failed while importing _ctypes`.** When no Python is
41
+ installed, uv downloads its own Python build. On Windows with Smart App
42
+ Control or an App Control policy, that build's DLLs can be blocked ("…
43
+ blocked by an application control policy"). Install the official Python
44
+ and tell uv to use it instead; `--force` replaces the broken install:
45
+
46
+ ```powershell
47
+ winget install Python.Python.3.12
48
+ uv tool install devnomads-cli --python-preference only-system --force
49
+ ```
50
+
31
51
  ### Updates
32
52
 
33
53
  Upgrade with:
@@ -280,7 +300,7 @@ fields, and reports an error on an unknown column name.
280
300
 
281
301
  Commands that take a service id also accept a unique entity name and
282
302
  resolve it for you, so `dncli domains show example.com` works as well
283
- as `dncli domains show 1234`. Clients, SSH keys, clusters, hypervisors,
303
+ as `dncli domains show 1234`. Clients, SSH keys, clusters, nameserver groups, hypervisors,
284
304
  database users and volumes take a name too, as an argument or an
285
305
  option: `dncli databases permissions create stelling_bg25 --user-id stelling`. The
286
306
  help of each such option says which field it matches. Names match
@@ -350,7 +370,10 @@ dncli skill install --project # into the current project instead
350
370
  ```
351
371
 
352
372
  Run it again after upgrading dncli to update the skill; `dncli skill
353
- show` prints it.
373
+ show` prints it. A copy an older dncli installed is replaced without
374
+ asking; a copy someone edited is replaced only after one confirmation
375
+ for all of them. When an installed copy is older than your dncli, dncli
376
+ says so (at a terminal, at most once a day, like the update notice).
354
377
 
355
378
  ## Certificates
356
379
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devnomads-cli
3
- Version: 0.17.0
3
+ Version: 0.17.1
4
4
  Summary: Manage your DevNomads services from the command line
5
5
  Author-email: DevNomads <support@devnomads.nl>
6
6
  License: MIT
@@ -27,13 +27,19 @@ as **`devnomads-cli`**.
27
27
  ## Install
28
28
 
29
29
  Install dncli with [uv](https://docs.astral.sh/uv/). It gives dncli
30
- its own isolated environment and puts the `dncli` command on your
31
- PATH:
30
+ its own isolated environment and installs the `dncli` command in
31
+ `~/.local/bin`:
32
32
 
33
33
  ```sh
34
34
  uv tool install devnomads-cli
35
+ uv tool update-shell # adds ~/.local/bin to your PATH, if it isn't yet
35
36
  ```
36
37
 
38
+ Then open a new terminal so the PATH change takes effect. On a fresh
39
+ machine, and on macOS in particular, `~/.local/bin` is not on your PATH
40
+ by default, so without this step the shell reports `dncli: command not
41
+ found`.
42
+
37
43
  No uv yet? Install it first:
38
44
 
39
45
  ```sh
@@ -41,9 +47,23 @@ curl -LsSf https://astral.sh/uv/install.sh | sh #
41
47
  powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows
42
48
  ```
43
49
 
50
+ The installer adds `~/.local/bin` to your shell profile, but only new
51
+ terminals pick that up: open a new one before running `uv tool install`.
52
+
44
53
  pipx (`pipx install devnomads-cli`) and pip (`pip install
45
54
  devnomads-cli`) work as well.
46
55
 
56
+ **Windows: `DLL load failed while importing _ctypes`.** When no Python is
57
+ installed, uv downloads its own Python build. On Windows with Smart App
58
+ Control or an App Control policy, that build's DLLs can be blocked ("…
59
+ blocked by an application control policy"). Install the official Python
60
+ and tell uv to use it instead; `--force` replaces the broken install:
61
+
62
+ ```powershell
63
+ winget install Python.Python.3.12
64
+ uv tool install devnomads-cli --python-preference only-system --force
65
+ ```
66
+
47
67
  ### Updates
48
68
 
49
69
  Upgrade with:
@@ -296,7 +316,7 @@ fields, and reports an error on an unknown column name.
296
316
 
297
317
  Commands that take a service id also accept a unique entity name and
298
318
  resolve it for you, so `dncli domains show example.com` works as well
299
- as `dncli domains show 1234`. Clients, SSH keys, clusters, hypervisors,
319
+ as `dncli domains show 1234`. Clients, SSH keys, clusters, nameserver groups, hypervisors,
300
320
  database users and volumes take a name too, as an argument or an
301
321
  option: `dncli databases permissions create stelling_bg25 --user-id stelling`. The
302
322
  help of each such option says which field it matches. Names match
@@ -366,7 +386,10 @@ dncli skill install --project # into the current project instead
366
386
  ```
367
387
 
368
388
  Run it again after upgrading dncli to update the skill; `dncli skill
369
- show` prints it.
389
+ show` prints it. A copy an older dncli installed is replaced without
390
+ asking; a copy someone edited is replaced only after one confirmation
391
+ for all of them. When an installed copy is older than your dncli, dncli
392
+ says so (at a terminal, at most once a day, like the update notice).
370
393
 
371
394
  ## Certificates
372
395
 
@@ -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.0"
75
+ __version__ = "0.17.1"
76
76
 
77
77
  # Distribution names, for reporting versions via `dncli version`.
78
78
  CLI_PACKAGE = "devnomads-cli"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "devnomads-cli"
3
- version = "0.17.0"
3
+ version = "0.17.1"
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