Metadata-Version: 2.4
Name: cicd-cli-tool
Version: 1.0.0
Summary: Auto-detect project frameworks and generate CI/CD pipeline files
Author: Your Name
Author-email: Ayoub Jedidi <ayoub.ejedidi@gmail.com>
Keywords: ci,cd,jenkins,gitlab,github,pipeline,devops,cicd
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: typer[all]>=0.9.0
Requires-Dist: jinja2>=3.1.2
Requires-Dist: rich>=13.7.0
Requires-Dist: pydantic<2
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: flake8>=6.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Dynamic: author
Dynamic: requires-python

# cicd-cli-tool

Auto-detect your project framework and generate CI/CD pipeline files instantly.

## Installation

```bash
pip install cicd-cli-tool
```

## Supported Frameworks

Python, Node.js, Java, Maven, Gradle, .NET

## Commands

### `cicd init`
Detect your project and generate pipeline files.

```bash
# Generate Jenkins pipeline (default)
cicd init

# Generate GitLab CI
cicd init --platforms gitlab

# Generate for multiple platforms
cicd init --platforms jenkins,gitlab,github

# Force a specific framework
cicd init --framework python --platforms github

# Deploy to a cloud provider
cicd init --cloud-provider aws --deployment-type webapp
cicd init --cloud-provider azure --deployment-type instance
```

**Options:**

| Flag | Short | Description | Default |
|------|-------|-------------|---------|
| `--platforms` | `-p` | `jenkins`, `gitlab`, `github` (comma-separated) | `jenkins` |
| `--framework` | `-f` | `python`, `node`, `java`, `maven`, `gradle`, `dotnet` | auto-detect |
| `--cloud-provider` | `-cp` | `local`, `aws`, `azure`, `gcp` | `local` |
| `--deployment-type` | `-dt` | `webapp`, `instance` | `webapp` |

---

### `cicd detect`
Detect project info without generating any files.

```bash
cicd detect
cicd detect /path/to/project
```

---

### `cicd list`
List all supported frameworks and platforms.

```bash
cicd list
```

---

### `cicd options`
Show all available deployment options and their values.

```bash
cicd options
```

## Examples

```bash
# Python project → GitHub Actions + deploy to GCP
cicd init --framework python --platforms github --cloud-provider gcp

# Node.js project → Jenkins + GitLab CI
cicd init --platforms jenkins,gitlab

# Java project → all platforms + AWS webapp
cicd init --framework java --platforms jenkins,gitlab,github --cloud-provider aws
```
