loft-cli 0.6.3__py3-none-any.whl

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 (61) hide show
  1. loft_cli/__init__.py +3 -0
  2. loft_cli/_builtins.py +269 -0
  3. loft_cli/addons/__init__.py +12 -0
  4. loft_cli/addons/goss/__init__.py +1 -0
  5. loft_cli/addons/goss/generator.py +202 -0
  6. loft_cli/addons/goss/renderer.py +207 -0
  7. loft_cli/addons/goss/shipper.py +174 -0
  8. loft_cli/agent_installer.py +65 -0
  9. loft_cli/checks/__init__.py +0 -0
  10. loft_cli/checks/compose.py +147 -0
  11. loft_cli/checks/container.py +24 -0
  12. loft_cli/checks/http.py +30 -0
  13. loft_cli/checks/nginx.py +21 -0
  14. loft_cli/checks/ports.py +24 -0
  15. loft_cli/checks/postgres.py +21 -0
  16. loft_cli/checks/ssh.py +66 -0
  17. loft_cli/checks/wireguard.py +21 -0
  18. loft_cli/cli.py +1161 -0
  19. loft_cli/compiler/__init__.py +0 -0
  20. loft_cli/compiler/normalizer.py +420 -0
  21. loft_cli/compiler/parser.py +42 -0
  22. loft_cli/compiler/planner.py +2543 -0
  23. loft_cli/local/__init__.py +0 -0
  24. loft_cli/local/ddl/__init__.py +0 -0
  25. loft_cli/local/ddl/bootstrap_tables.py +75 -0
  26. loft_cli/local/ddl/versionize_system.py +374 -0
  27. loft_cli/local/inventory.py +449 -0
  28. loft_cli/local/inventory_db.py +255 -0
  29. loft_cli/local/keys.py +45 -0
  30. loft_cli/local/remove.py +135 -0
  31. loft_cli/local/ssh_config.py +118 -0
  32. loft_cli/local/tunnel.py +228 -0
  33. loft_cli/local/wireguard_store.py +138 -0
  34. loft_cli/logs/__init__.py +0 -0
  35. loft_cli/logs/reader.py +55 -0
  36. loft_cli/logs/writer.py +58 -0
  37. loft_cli/runtime/__init__.py +0 -0
  38. loft_cli/runtime/agent_transport.py +115 -0
  39. loft_cli/runtime/executor.py +798 -0
  40. loft_cli/runtime/fabric_transport.py +68 -0
  41. loft_cli/runtime/secret_rotation.py +99 -0
  42. loft_cli/runtime/ssh.py +147 -0
  43. loft_cli/runtime/steps/__init__.py +0 -0
  44. loft_cli/runtime/steps/backup.py +72 -0
  45. loft_cli/runtime/steps/bootstrap.py +227 -0
  46. loft_cli/runtime/steps/compose.py +43 -0
  47. loft_cli/runtime/steps/container.py +40 -0
  48. loft_cli/runtime/steps/docker.py +15 -0
  49. loft_cli/runtime/steps/file_template.py +25 -0
  50. loft_cli/runtime/steps/nginx.py +126 -0
  51. loft_cli/runtime/steps/postgres.py +101 -0
  52. loft_cli/runtime/steps/postgres_ensure.py +141 -0
  53. loft_cli/runtime/steps/systemd.py +131 -0
  54. loft_cli/runtime/steps/wireguard.py +76 -0
  55. loft_cli/runtime/transport.py +43 -0
  56. loft_cli/updater.py +208 -0
  57. loft_cli-0.6.3.dist-info/METADATA +19 -0
  58. loft_cli-0.6.3.dist-info/RECORD +61 -0
  59. loft_cli-0.6.3.dist-info/WHEEL +5 -0
  60. loft_cli-0.6.3.dist-info/entry_points.txt +5 -0
  61. loft_cli-0.6.3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,43 @@
1
+ """Transport protocol for remote execution.
2
+
3
+ Defines the structural protocol that all transport implementations must satisfy.
4
+ This decouples the executor from the concrete SSH library (Fabric), enabling
5
+ the agent transport path introduced in v0.4.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ from typing import Protocol, runtime_checkable
11
+
12
+ from loft_cli.runtime.ssh import CommandResult
13
+
14
+
15
+ @runtime_checkable
16
+ class Transport(Protocol):
17
+ """Structural protocol for remote command execution and file transfer.
18
+
19
+ Any class implementing these methods satisfies the protocol — no
20
+ inheritance required (duck typing via ``runtime_checkable``).
21
+ """
22
+
23
+ host: str
24
+ user: str
25
+ port: int
26
+
27
+ def run(
28
+ self,
29
+ cmd: str,
30
+ sudo: bool = False,
31
+ warn: bool = True,
32
+ hide: bool = True,
33
+ ) -> CommandResult: ...
34
+
35
+ def upload(self, local_path, remote_path: str) -> None: ...
36
+
37
+ def upload_content(
38
+ self, content: str, remote_path: str, sudo: bool = False
39
+ ) -> CommandResult: ...
40
+
41
+ def test_connection(self) -> bool: ...
42
+
43
+ def close(self) -> None: ...
loft_cli/updater.py ADDED
@@ -0,0 +1,208 @@
1
+ """Self-update and agent-update utilities.
2
+
3
+ Checks GitHub Releases for new versions and handles binary replacement.
4
+ """
5
+
6
+ from __future__ import annotations
7
+
8
+ import platform
9
+ import sys
10
+ from pathlib import Path
11
+ from typing import TYPE_CHECKING
12
+
13
+ import requests
14
+ from rich.console import Console
15
+
16
+ if TYPE_CHECKING:
17
+ from loft_cli.runtime.transport import Transport
18
+
19
+ GITHUB_REPO = "1ops-eu/loft-cli"
20
+ RELEASES_API = f"https://api.github.com/repos/{GITHUB_REPO}/releases/latest"
21
+
22
+
23
+ def get_latest_release() -> dict:
24
+ """Query GitHub API for the latest release.
25
+
26
+ Returns a dict with 'tag_name', 'assets' list, etc.
27
+ Raises on network/API errors.
28
+ """
29
+ resp = requests.get(RELEASES_API, timeout=10)
30
+ resp.raise_for_status()
31
+ return resp.json()
32
+
33
+
34
+ def parse_version(tag: str) -> tuple[int, ...]:
35
+ """Parse a version tag like 'v0.4.0' into a comparable tuple."""
36
+ clean = tag.lstrip("v")
37
+ return tuple(int(p) for p in clean.split(".") if p.isdigit())
38
+
39
+
40
+ def is_newer(current: str, latest_tag: str) -> bool:
41
+ """Return True if latest_tag is newer than current version."""
42
+ return parse_version(latest_tag) > parse_version(current)
43
+
44
+
45
+ def _platform_suffix() -> str:
46
+ """Determine the binary suffix for the current platform."""
47
+ system = platform.system().lower()
48
+ machine = platform.machine().lower()
49
+
50
+ arch_map = {"x86_64": "amd64", "amd64": "amd64", "aarch64": "arm64", "arm64": "arm64"}
51
+ arch = arch_map.get(machine, machine)
52
+
53
+ if system == "darwin":
54
+ return f"macos-{arch}"
55
+ return f"{system}-{arch}"
56
+
57
+
58
+ def find_asset_url(release: dict, suffix: str) -> str | None:
59
+ """Find the download URL for a binary matching the given platform suffix."""
60
+ for asset in release.get("assets", []):
61
+ name = asset.get("name", "")
62
+ if suffix in name and not name.endswith(".sha256"):
63
+ return asset.get("browser_download_url")
64
+ return None
65
+
66
+
67
+ def self_update(console: Console | None = None) -> bool:
68
+ """Check for updates and replace the current binary if newer.
69
+
70
+ Returns True if an update was applied.
71
+ """
72
+ from loft_cli import __version__
73
+
74
+ c = console or Console()
75
+
76
+ c.print(f"[dim]Current version: {__version__}[/dim]")
77
+ c.print("[dim]Checking for updates...[/dim]")
78
+
79
+ try:
80
+ release = get_latest_release()
81
+ except Exception as e:
82
+ c.print(f"[red]Failed to check for updates: {e}[/red]")
83
+ return False
84
+
85
+ latest_tag = release.get("tag_name", "")
86
+ if not is_newer(__version__, latest_tag):
87
+ c.print(f"[green]Already up to date ({__version__})[/green]")
88
+ return False
89
+
90
+ c.print(f"[bold]New version available: {latest_tag}[/bold]")
91
+
92
+ suffix = _platform_suffix()
93
+ url = find_asset_url(release, suffix)
94
+ if not url:
95
+ c.print(
96
+ f"[yellow]No binary found for platform '{suffix}'. "
97
+ f"Try: pip install --upgrade loft-cli[/yellow]"
98
+ )
99
+ return False
100
+
101
+ c.print(f"[dim]Downloading {url}...[/dim]")
102
+ try:
103
+ resp = requests.get(url, stream=True, timeout=60)
104
+ resp.raise_for_status()
105
+
106
+ current_binary = Path(sys.executable)
107
+ if current_binary.name == "python" or current_binary.name.startswith("python"):
108
+ c.print(
109
+ "[yellow]Running from Python interpreter — "
110
+ "use pip install --upgrade loft-cli instead[/yellow]"
111
+ )
112
+ return False
113
+
114
+ # Download to temp file, then replace
115
+ tmp_path = current_binary.with_suffix(".tmp")
116
+ with open(tmp_path, "wb") as f:
117
+ for chunk in resp.iter_content(chunk_size=8192):
118
+ f.write(chunk)
119
+
120
+ # Make executable and replace
121
+ tmp_path.chmod(0o755)
122
+ tmp_path.rename(current_binary)
123
+
124
+ c.print(f"[bold green]Updated to {latest_tag}[/bold green]")
125
+ return True
126
+
127
+ except Exception as e:
128
+ c.print(f"[red]Update failed: {e}[/red]")
129
+ return False
130
+
131
+
132
+ def update_agent(transport: Transport, console: Console | None = None) -> bool:
133
+ """Update the loft-cli-agent binary on a remote host.
134
+
135
+ Returns True if an update was applied.
136
+ """
137
+ from loft_cli.agent_installer import detect_agent
138
+ from loft_cli_core.agent_paths import AGENT_BINARY_PATH
139
+
140
+ c = console or Console()
141
+
142
+ # Check current agent version
143
+ current = detect_agent(transport)
144
+ c.print(f"[dim]Agent version: {current or 'not installed'}[/dim]")
145
+
146
+ try:
147
+ release = get_latest_release()
148
+ except Exception as e:
149
+ c.print(f"[red]Failed to check for updates: {e}[/red]")
150
+ return False
151
+
152
+ latest_tag = release.get("tag_name", "")
153
+ if current and not is_newer(current, latest_tag):
154
+ c.print(f"[green]Agent already up to date ({current})[/green]")
155
+ return False
156
+
157
+ c.print(f"[bold]Updating agent to {latest_tag}[/bold]")
158
+
159
+ # Detect target architecture
160
+ arch_result = transport.run("uname -m", warn=True)
161
+ machine = arch_result.stdout.strip() if arch_result.ok else "x86_64"
162
+ arch_map = {"x86_64": "amd64", "aarch64": "arm64"}
163
+ arch = arch_map.get(machine, machine)
164
+ suffix = f"linux-{arch}"
165
+
166
+ url = find_asset_url(release, f"agent-{suffix}")
167
+ if not url:
168
+ c.print(
169
+ f"[yellow]No agent binary found for {suffix} in release {latest_tag}. "
170
+ f"The release may predate the agent binary pipeline.[/yellow]"
171
+ )
172
+ return False
173
+
174
+ c.print(f"[dim]Downloading {url}...[/dim]")
175
+ try:
176
+ resp = requests.get(url, stream=True, timeout=60)
177
+ resp.raise_for_status()
178
+ binary_content = resp.content
179
+
180
+ # Upload via transport
181
+ import tempfile
182
+
183
+ with tempfile.NamedTemporaryFile(delete=False, suffix=".bin") as f:
184
+ f.write(binary_content)
185
+ tmp_local = f.name
186
+
187
+ transport.upload(tmp_local, "/tmp/loft-cli-agent.tmp")
188
+ transport.run(f"mv /tmp/loft-cli-agent.tmp {AGENT_BINARY_PATH}", sudo=True, warn=True)
189
+ transport.run(f"chmod 755 {AGENT_BINARY_PATH}", sudo=True, warn=True)
190
+
191
+ # Verify
192
+ new_version = detect_agent(transport)
193
+ if not new_version:
194
+ c.print(
195
+ "[red]Agent binary was uploaded but verification failed — "
196
+ "the installed binary did not respond correctly.[/red]"
197
+ )
198
+ return False
199
+ c.print(f"[bold green]Agent updated to {new_version}[/bold green]")
200
+
201
+ import os
202
+
203
+ os.unlink(tmp_local)
204
+ return True
205
+
206
+ except Exception as e:
207
+ c.print(f"[red]Agent update failed: {e}[/red]")
208
+ return False
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.4
2
+ Name: loft-cli
3
+ Version: 0.6.3
4
+ Summary: Securely bootstrap Linux servers with auditable plans, generated ops docs, and encrypted local inventory
5
+ Requires-Python: >=3.11
6
+ Requires-Dist: loft-cli-core>=0.5.0
7
+ Requires-Dist: typer[all]>=0.9.0
8
+ Requires-Dist: fabric>=3.2
9
+ Requires-Dist: rich>=13.0
10
+ Requires-Dist: requests>=2.31
11
+ Requires-Dist: pynacl>=1.5
12
+ Provides-Extra: dev
13
+ Requires-Dist: pytest>=7.0; extra == "dev"
14
+ Requires-Dist: pytest-mock>=3.12; extra == "dev"
15
+ Requires-Dist: pyfakefs>=5.3; extra == "dev"
16
+ Requires-Dist: ruff>=0.4; extra == "dev"
17
+ Requires-Dist: black>=24.0; extra == "dev"
18
+ Requires-Dist: build>=1.0; extra == "dev"
19
+ Requires-Dist: pyinstaller>=6.0; extra == "dev"
@@ -0,0 +1,61 @@
1
+ loft_cli/__init__.py,sha256=UocAeZGE50jdq1LUmUEXOftwJiQeEGwy61wB_1Qujgg,65
2
+ loft_cli/_builtins.py,sha256=GtjyTS8in-x3Z0cBJqTQmkGXudhMadv6NYThxJ1a99k,9670
3
+ loft_cli/agent_installer.py,sha256=Z1oHqHzaPVPX6Qt6vPkyVJrlqkczPg8O3fa15lDJF8Q,1844
4
+ loft_cli/cli.py,sha256=FN342O1C_TUCsAZPe_8NBDjunicZfTQkuYgo1j1sUdQ,41076
5
+ loft_cli/updater.py,sha256=U1oiCPK6NVZKt_BBedt1VEOktkW-Sy7HX5F29OFQl7U,6580
6
+ loft_cli/addons/__init__.py,sha256=sZgVjYIpjepwv851zq6jlZUg1x0nZBRWL85mdlPsY54,448
7
+ loft_cli/addons/goss/__init__.py,sha256=_H1tYrGeWZFUfbMyx0-p2C5gYemyH5BZ1yEzSrbKyoE,82
8
+ loft_cli/addons/goss/generator.py,sha256=zeJixZ5FGidXBKZg-K_2C61EKRwYEPRRrK6o2m0qVYw,7839
9
+ loft_cli/addons/goss/renderer.py,sha256=KosQImZJuMnHRpbpYYMJ00Qjp8kn4pSRhEN-g2KOZQ4,7266
10
+ loft_cli/addons/goss/shipper.py,sha256=JC5RTQ5WGRWtHZBqNSf5-PUi-8TEXig-Ng33f3kKhhM,6975
11
+ loft_cli/checks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ loft_cli/checks/compose.py,sha256=K0RcvMxuP3tpJc9gY93bIbbycJvveOKfTzfJlE0UjOU,4554
13
+ loft_cli/checks/container.py,sha256=XwuoiE9N2sx-uO-4QNiCQ7Bj6EruPxqBe9xMDbZZ3Mg,759
14
+ loft_cli/checks/http.py,sha256=pxECB8YSvhdAqiJDV6XgWKT_p__LPpTYpuhuk99kBVg,952
15
+ loft_cli/checks/nginx.py,sha256=KDpOkWwS6FKRWfpyAB2tR5BnF3Zuk6muLXu82rOCqD4,658
16
+ loft_cli/checks/ports.py,sha256=VFkUICXpUqG6cy1PJK1cyudX4HG2TQdkQQzWfIBIJSw,735
17
+ loft_cli/checks/postgres.py,sha256=lEnYqnDJM5e4SfwL6Mlr0WJuaNv5NYPw0N6Gjib5Cpo,586
18
+ loft_cli/checks/ssh.py,sha256=_NfmuC5GrUvBLYT4HQnKF6tS4E-1_QaaQzo5_s64unc,1842
19
+ loft_cli/checks/wireguard.py,sha256=J34c2L7EJpjlLzX3vUUbVdbcVVy6NVyoi_UbLfgcZGc,696
20
+ loft_cli/compiler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ loft_cli/compiler/normalizer.py,sha256=7ww8Emo4K4-QVyffNC3NBpWjGt3hD781iyLL1tg-gi8,16084
22
+ loft_cli/compiler/parser.py,sha256=dGGe9IW333LxQ7s-kg9z77ZOZoWfOTMbdkG-aIBzPXs,1508
23
+ loft_cli/compiler/planner.py,sha256=PTvho_4oFsB9wJPcUsMoUU1L8EZgpBXFtq8d5tZPyb0,78452
24
+ loft_cli/local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ loft_cli/local/inventory.py,sha256=Y_l8WCJwp1GyJD5Klj2bVnAxzkGg21_CruPxDbPv0VI,13881
26
+ loft_cli/local/inventory_db.py,sha256=6TEc59G6oKZVZ1ETw98o1LDCzpeNBX73_ob6ZHCZXkw,9074
27
+ loft_cli/local/keys.py,sha256=xAgJ5_ZdLWckQQC36JCY2T8u_kULcYTlnjeor052CHE,1610
28
+ loft_cli/local/remove.py,sha256=zs2IF5xxZUYMPP9dZCqnF1cQuxxi8hipb5mDCMpYvAE,5119
29
+ loft_cli/local/ssh_config.py,sha256=soNhnDOP9pnfSCMmCngaJUicLk_ypc-xHZNJ2bwsqEE,3530
30
+ loft_cli/local/tunnel.py,sha256=u7kuCZwrRtGkjaEJgcnW4fUQaz_KiWh5Eu2c4YN4r9o,7749
31
+ loft_cli/local/wireguard_store.py,sha256=zPREiU2HpM7dKOWMzVfvPlc7YYAUlhJvXCTU40J4AkI,4753
32
+ loft_cli/local/ddl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ loft_cli/local/ddl/bootstrap_tables.py,sha256=fLLAsdClQqVCGK5TZdrqu1LnhekV_DkZ5GxsdLLByFw,2386
34
+ loft_cli/local/ddl/versionize_system.py,sha256=LuMYTzJ8iq_778UEhT1lpescL_SOGHPem8GdIxDXjic,18515
35
+ loft_cli/logs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
+ loft_cli/logs/reader.py,sha256=hvc4lHoDcowqI2iOeLI4bMAuUGIvmK4b_WPdj6GVxwo,1615
37
+ loft_cli/logs/writer.py,sha256=KfQ878wmqJ7rwTg0OPVHO744QwJhFoEkUt-9YX6xqHw,1849
38
+ loft_cli/runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
+ loft_cli/runtime/agent_transport.py,sha256=ukttl8aZnvgrvshLGdQz3x48d2eDei9Mk_7Iyh3jGwI,3723
40
+ loft_cli/runtime/executor.py,sha256=R3gK7gG3mW6hnc6Bc43izN7az0b7Mzh4MXMUQy1CUkA,32393
41
+ loft_cli/runtime/fabric_transport.py,sha256=zq596aQO8vTI4sbBskBIWQRJgjbrIRrnnx7O6039JLA,2073
42
+ loft_cli/runtime/secret_rotation.py,sha256=J8qVDnWMXZzOFwOGeFFRy8A96_CkeBdO9i_t-vsS0kM,2837
43
+ loft_cli/runtime/ssh.py,sha256=WPBXuKV-oZDBQ0sg6ka7IFE_l_MmT8CaE9QjPlF1Yag,4837
44
+ loft_cli/runtime/transport.py,sha256=Uwq5BEMQS8aeD51a2FOCFzklFmigMRLgPHxqRixvF7U,1113
45
+ loft_cli/runtime/steps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
+ loft_cli/runtime/steps/backup.py,sha256=nA_jMQ4vMmu88i3Xc-FrZmlm_X2rqiOZOe1khDs13kQ,2218
47
+ loft_cli/runtime/steps/bootstrap.py,sha256=KZf2D-0gkVZdQ6zjhMAfNB1vpNFz2NsK3MCEbodwp4Q,8623
48
+ loft_cli/runtime/steps/compose.py,sha256=NiTdX_JzkAcnUlrWErCTqEAdr7mKxU66IQOQqseguxc,1756
49
+ loft_cli/runtime/steps/container.py,sha256=roHyseMipCrLfRbOYqbx4IMNCUjw6SVNA5BsVU2NC7s,1092
50
+ loft_cli/runtime/steps/docker.py,sha256=1wKIQ46WWNGQZmhv1DvRKnc4mnkQTIpVlRFBv93mOrc,305
51
+ loft_cli/runtime/steps/file_template.py,sha256=tI-I5VJyBkXyelYj0AFKIp3_AigpJalDO-hQJ4tU-GQ,727
52
+ loft_cli/runtime/steps/nginx.py,sha256=vMpHsybtMRXInhgbDE4TVwvHLyPJGpovANABJvKuGvU,3916
53
+ loft_cli/runtime/steps/postgres.py,sha256=u2yFjMK0R7GCDJHPg6T68UMn8ltkKf5t9S8WnzDN7rk,3551
54
+ loft_cli/runtime/steps/postgres_ensure.py,sha256=lrQSBD2GeLbC2EwANzEBRMt01Qvzq1vTL3HkN18vGyM,3897
55
+ loft_cli/runtime/steps/systemd.py,sha256=p4caHdVva1wf6dIjwsxfZPTMkxxzOujVbwsHP6AvIjM,3522
56
+ loft_cli/runtime/steps/wireguard.py,sha256=6hzhUnRC0oRUVQnUln6hQpTTiKJbaNAjHYYiNJmfR_c,1920
57
+ loft_cli-0.6.3.dist-info/METADATA,sha256=-fKft3HRIxTNOSn-vRzvx32pnFKZtwIcxP30tlaJNRg,700
58
+ loft_cli-0.6.3.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
59
+ loft_cli-0.6.3.dist-info/entry_points.txt,sha256=5Yvyce8b7m_B94e7JZk5b8o_24V9KmoBnjt8o8EtqCE,114
60
+ loft_cli-0.6.3.dist-info/top_level.txt,sha256=__F0bslaIaiIdb4cn5TltY_VX__dYzkxYikJ83i-Aos,9
61
+ loft_cli-0.6.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ loft-cli = loft_cli.cli:app
3
+
4
+ [loft_cli.addons]
5
+ builtins = loft_cli._builtins:_register_builtins
@@ -0,0 +1 @@
1
+ loft_cli