clue2app-cli 0.2.7__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.
@@ -0,0 +1,202 @@
1
+ Metadata-Version: 2.4
2
+ Name: clue2app-cli
3
+ Version: 0.2.7
4
+ Summary: CLI application for clue2app using the clue2app-python-sdk
5
+ Home-page: https://github.com/clue2solve/clue2app-cli
6
+ Author: Clue2App CLI Team
7
+ Author-email: Clue2App CLI Team <support@clue2app.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/clue2solve/clue2app-cli
10
+ Project-URL: Documentation, https://docs.clue2app.com/cli
11
+ Project-URL: Repository, https://github.com/clue2solve/clue2app-cli
12
+ Project-URL: Issues, https://github.com/clue2solve/clue2app-cli/issues
13
+ Keywords: cli,clue2app,sdk
14
+ Classifier: Development Status :: 3 - Alpha
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Environment :: Console
23
+ Classifier: Operating System :: OS Independent
24
+ Classifier: Topic :: Software Development :: Build Tools
25
+ Requires-Python: >=3.8
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Requires-Dist: click>=8.0.0
29
+ Requires-Dist: requests>=2.28.0
30
+ Requires-Dist: rich>=12.0.0
31
+ Requires-Dist: keyring>=23.0.0
32
+ Requires-Dist: pydantic>=1.10.0
33
+ Requires-Dist: toml>=0.10.0
34
+ Requires-Dist: questionary>=2.0.0
35
+ Requires-Dist: textual>=0.40.0
36
+ Provides-Extra: dev
37
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
38
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
39
+ Requires-Dist: black>=22.0.0; extra == "dev"
40
+ Requires-Dist: isort>=5.10.0; extra == "dev"
41
+ Requires-Dist: flake8>=5.0.0; extra == "dev"
42
+ Requires-Dist: mypy>=0.991; extra == "dev"
43
+ Requires-Dist: pandas>=1.5.0; extra == "dev"
44
+ Provides-Extra: build
45
+ Requires-Dist: pyinstaller>=6.0.0; extra == "build"
46
+ Requires-Dist: invoke>=2.0.0; extra == "build"
47
+ Requires-Dist: tox>=4.0.0; extra == "build"
48
+ Dynamic: author
49
+ Dynamic: home-page
50
+ Dynamic: license-file
51
+ Dynamic: requires-python
52
+
53
+ # Clue2App CLI
54
+
55
+ **Command-line interface for the Clue2App platform**
56
+
57
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
58
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
59
+ [![Tests](https://img.shields.io/github/actions/workflow/status/clue2solve/clue2app-cli/tests.yml?label=tests)](https://github.com/clue2solve/clue2app-cli/actions/workflows/tests.yml)
60
+ [![Release](https://img.shields.io/github/v/release/clue2solve/clue2app-cli)](https://github.com/clue2solve/clue2app-cli/releases)
61
+
62
+ ## Installation
63
+
64
+ ### Option 1: pip (Recommended)
65
+
66
+ ```bash
67
+ pip install clue2app-cli
68
+ ```
69
+
70
+ ### Option 2: Standalone Executable
71
+
72
+ Download from [Releases](https://github.com/clue2solve/clue2app-cli/releases):
73
+
74
+ ```bash
75
+ # macOS (Apple Silicon)
76
+ curl -L https://github.com/clue2solve/clue2app-cli/releases/latest/download/clue2app-macos-arm64 -o c2a
77
+ chmod +x c2a && sudo mv c2a /usr/local/bin/
78
+
79
+ # macOS (Intel)
80
+ curl -L https://github.com/clue2solve/clue2app-cli/releases/latest/download/clue2app-macos-x64 -o c2a
81
+ chmod +x c2a && sudo mv c2a /usr/local/bin/
82
+
83
+ # Linux
84
+ curl -L https://github.com/clue2solve/clue2app-cli/releases/latest/download/clue2app-linux-x64 -o c2a
85
+ chmod +x c2a && sudo mv c2a /usr/local/bin/
86
+ ```
87
+
88
+ ## Quick Start
89
+
90
+ ```bash
91
+ # Login to your account
92
+ c2a login
93
+
94
+ # Check status
95
+ c2a status
96
+
97
+ # List your projects
98
+ c2a project list
99
+
100
+ # Select a project
101
+ c2a project use MyProject
102
+
103
+ # List apps in current project
104
+ c2a app list
105
+
106
+ # Deploy an app from GitHub
107
+ c2a app create my-app --git-url https://github.com/user/repo
108
+
109
+ # View app logs
110
+ c2a logs show my-app
111
+
112
+ # Rebuild an app
113
+ c2a rebuild my-app
114
+ ```
115
+
116
+ ## Key Commands
117
+
118
+ | Command | Description |
119
+ |---------|-------------|
120
+ | `c2a login` | Authenticate with Clue2App |
121
+ | `c2a status` | Show CLI and auth status |
122
+ | `c2a project list` | List all projects |
123
+ | `c2a project use <name>` | Set active project |
124
+ | `c2a app list` | List apps in current project |
125
+ | `c2a app create <name> --git-url <url>` | Deploy a new app from a Git repo |
126
+ | `c2a logs show <app>` | View application logs (`--build` for build logs, `-f` to follow) |
127
+ | `c2a build logs <app>` | View latest build logs for an app |
128
+ | `c2a rebuild <app>` | Trigger app rebuild |
129
+ | `c2a env set <app> KEY=value` | Set environment variables |
130
+ | `c2a secrets create -n <name> -u <user> -p <token>` | Create a git credential secret |
131
+ | `c2a llm list` / `c2a llm create` / `c2a llm bind <app> <secret>` | Manage LLM Gateway bindings (see [Daari LLM](docs/daari-llm.md)) |
132
+ | `c2a daari secrets list` / `bind <app> <secret>` | Manage Daari service bindings (see [Daari](docs/daari.md)) |
133
+
134
+ ## Configuration
135
+
136
+ Config files are stored in `~/.c2a/`:
137
+ - `config.toml` - CLI settings
138
+ - `credentials.json` - Authentication tokens
139
+
140
+ Override the API base URL (or any other config key) with `c2a config set`:
141
+ ```bash
142
+ c2a config set api.base_url https://custom-api.example.com
143
+ ```
144
+
145
+ ## Documentation
146
+
147
+ For complete documentation, guides, and tutorials:
148
+
149
+ **[https://clue2app.ai/docs](https://clue2app.ai/docs)**
150
+
151
+ - [Quick Start Guide](https://clue2app.ai/docs/quick-start)
152
+ - [CLI Reference](https://clue2app.ai/docs/cli-reference)
153
+ - [MCP Server Setup](https://clue2app.ai/docs/mcp-quickstart)
154
+ - [Deployment Guide](https://clue2app.ai/docs/deployment-journey)
155
+
156
+ ## Agents
157
+
158
+ Clue2App includes specialized agents that help manage your applications:
159
+
160
+ | Agent | Purpose |
161
+ |-------|---------|
162
+ | **Deployment** | Deploy, rebuild, and manage application lifecycle |
163
+ | **Cleanup** | Remove orphaned resources and maintain clean infrastructure |
164
+ | **System Health** | Detect anomalies and report system issues |
165
+ | **Audit** | Track all operations with full audit trail and rollback support |
166
+
167
+ Each agent has a single responsibility and they work together to keep your platform healthy.
168
+
169
+ ## MCP Server Integration
170
+
171
+ Use Clue2App with AI assistants (Claude Code, Cursor, Claude Desktop):
172
+
173
+ ```bash
174
+ pip install clue2app-mcp
175
+ ```
176
+
177
+ See [MCP Quick Start](https://clue2app.ai/docs/mcp-quickstart) for setup instructions.
178
+
179
+ ## Development
180
+
181
+ ```bash
182
+ # Clone and install in dev mode
183
+ git clone https://github.com/clue2solve/clue2app-cli.git
184
+ cd clue2app-cli
185
+ pip install -e ".[dev]"
186
+
187
+ # Run tests
188
+ pytest
189
+
190
+ # Build executable
191
+ pip install -e ".[build]"
192
+ make build
193
+ ```
194
+
195
+ ## Support
196
+
197
+ - **Documentation**: [clue2app.ai/docs](https://clue2app.ai/docs)
198
+ - **Issues**: [GitHub Issues](https://github.com/clue2solve/clue2app-cli/issues)
199
+
200
+ ## License
201
+
202
+ MIT License - see [LICENSE](LICENSE) for details.
@@ -0,0 +1,26 @@
1
+ clue2app_cli/__init__.py,sha256=cTkNvgWsWwwkh5m_A7qdseTSUAkfZ4OFMw2d0DlS7-c,317
2
+ clue2app_cli/auth.py,sha256=Lv_QI3TpS1I_pPOI5luMYDzjwJzx5k22TuPos3abe28,10776
3
+ clue2app_cli/config.py,sha256=DiZpdTd3KCEKMjj5NjWtAHpMvA7z-k2cEO4GHkfgYxE,8140
4
+ clue2app_cli/core_client.py,sha256=FS37QaHLMTMayjX2iRWRX7GQHBFIo68fsRatYfwsPi8,1506
5
+ clue2app_cli/creds_module.py,sha256=JAelNZvxqSfxzVWZrHRmogHRDvViNnkHVop3wvT7hoc,9716
6
+ clue2app_cli/curses_wizard.py,sha256=Vu1Fy8iqw5k7z0uQB1e7VkbksyhPcaA6G8QvlGXLhmI,32164
7
+ clue2app_cli/entrypoint_check.py,sha256=401RbbV1g8DiC7JkX1WKDmoF8rrh7Vdju1hwvri1P8A,8451
8
+ clue2app_cli/main.py,sha256=bsMkrWyBo5BPlGrteOPwLoiPOYFgphykdnnEyAqlaUM,255803
9
+ clue2app_cli/sdk.py,sha256=I0x3km_FQOIqbkuVNnsHUuY746M3scPJgboTTvrz50c,120611
10
+ clue2app_cli/tui_wizard.py,sha256=NSBDZAq9USvSKXHGDUSr5gzWK23vZ2HyAbzfkkQv0Ng,32505
11
+ clue2app_cli/version.py,sha256=1Pq3jWjWVsrcj2HAThYXzB7csLj-QGjcf-e-Nb4Hh6w,67
12
+ clue2app_cli/wizard.py,sha256=7cBvEz0Y0xizaVfu4zxJK29xLpIOKxCse6ao7Bc7-Jw,36264
13
+ clue2app_cli/agents/__init__.py,sha256=yJD-Z16ZdRNs-atRgxIvvvw6LNa4iD8kuzxHDIxRa3s,182
14
+ clue2app_cli/agents/ecr_healer.py,sha256=R8TXCVD5LtFOPsGxw5R2eYjTWZJZn_pLmDEFsxJI5Ls,15923
15
+ clue2app_cli/tui/__init__.py,sha256=b2osQWnFSCpNOGGFNFn7Es90Eb0gKqTFXRBBGuBPjPg,871
16
+ clue2app_cli/tui/curses_app.py,sha256=PXC2D59KwtAIPXkOD-5k6njdODagOgYTvhupnpDSQhI,28129
17
+ clue2app_cli/tui/data.py,sha256=Esai8eMCJkV3hdnhWbd95TwEG_cwfDZwFBks-5gzd58,11104
18
+ clue2app_cli/tui/textual_app.py,sha256=-6KhPNb00PMuLKB50A0ycwzYFnrzEmCB_gUeIINnqe4,37641
19
+ clue2app_cli/tui/screens/__init__.py,sha256=TA5fz2Wf07qklNN_UsJautJGnDBMjDrl0aaa4LB8WPg,19
20
+ clue2app_cli/tui/widgets/__init__.py,sha256=nJmEFucj3fh-lUmbVXrLCmjsmp_WAU19RWiH6EcWkf0,19
21
+ clue2app_cli-0.2.7.dist-info/licenses/LICENSE,sha256=88Zmlt8sFiaLiodeA4AN9y2DWTzUOl0F9Vgv5B2vg6M,1074
22
+ clue2app_cli-0.2.7.dist-info/METADATA,sha256=fKWo_EgdqxlLJJlzPGgOf6VDzFyvxKcfgLCN8qNLLqg,6531
23
+ clue2app_cli-0.2.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
24
+ clue2app_cli-0.2.7.dist-info/entry_points.txt,sha256=ryrDkPTfj8FDjUrcbj6lsE49WmtDcy3Kfo7Pv3U26NM,79
25
+ clue2app_cli-0.2.7.dist-info/top_level.txt,sha256=dc051l6F25DtXfxkHzpNzzO2b-j0lomriz227CB16PM,13
26
+ clue2app_cli-0.2.7.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ c2a = clue2app_cli.main:cli
3
+ clue2app = clue2app_cli.main:cli
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Clue2App CLI Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ clue2app_cli