Metadata-Version: 2.4
Name: fluidgrids-cli
Version: 0.1.0
Summary: Command-line interface for the FluidGrids Workflow Engine
Home-page: https://fluidgrids.ai/
Author: Vignesh T.V
Author-email: vignesh@algoshred.com
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
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
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fluidgrids==0.1.0
Requires-Dist: click>=8.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=12.0.0
Requires-Dist: keyring>=23.0.0
Requires-Dist: tabulate>=0.8.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# FluidGrids CLI

A command-line interface for the FluidGrids Workflow Engine that allows you to manage workflows, trigger runs, and more.

## Installation

### Using pip

```bash
pip install fluidgrids-cli
```

### From Source

```bash
git clone https://github.com/algoshred/fluidgrids-cli.git
cd fluidgrids-cli
pip install -e .
```

## Quick Start

### Authentication

Set up your credentials first:

```bash
fluidgrids auth login --url https://api.fluidgrids.ai
```

You can also use an API key for automation:

```bash
fluidgrids auth set-key --api-key YOUR_API_KEY
```

### List Workflows

```bash
fluidgrids workflows list
```

### Get Workflow Details

```bash
fluidgrids workflows get KEY VERSION
```

### Trigger a Workflow Run

```bash
fluidgrids runs trigger KEY VERSION --context '{"input_key": "value"}'
```

### Monitor a Run

```bash
fluidgrids runs get RUN_ID
```

## Configuration

The CLI stores configuration in `~/.fluidgrids/config.yaml`. You can view your current configuration with:

```bash
fluidgrids config show
```

## Documentation

For complete documentation, see the [docs directory](docs/) or visit [FluidGrids Documentation](https://docs.fluidgrids.ai/cli).

## License

MIT License - Copyright (c) 2023 Algoshred Technologies Private Limited 
