Metadata-Version: 2.3
Name: maws
Version: 25.12.0
Summary: Workflow based API to run jobs
Author: Jochen Werner, Stefan Heitmüller
Author-email: Jochen Werner <jochen.werner@skaylink.com>, Stefan Heitmüller <stefan.heitmueller@skaylink.com>
Requires-Dist: pydantic==2.11.4
Requires-Dist: pydantic-settings==2.9.1
Requires-Dist: typer==0.15.4
Requires-Dist: rich==14.0.0
Requires-Dist: openapi-python-client>=0.25.3
Requires-Dist: mypy-extensions>=1.1.0
Requires-Dist: pathspec>=0.12.1
Requires-Python: >=3.12
Project-URL: Repository, https://github.com/skaylink/maws
Description-Content-Type: text/markdown

# maws

<img style="float:right" src="./actor.png" height="250" title="Miau"></img>

Skaylink Managed AWS command line client.

[![python](https://img.shields.io/badge/Python->=3.12-3776AB.svg?style=flat&logo=python&logoColor=white)][python-url]
[![typer](https://img.shields.io/badge/FastAPI-Typer-009688.svg?style=flat&logo=fastapi&logoColor=white)][typer-url]
[![uv](https://img.shields.io/badge/built%20with-uv-6c6cff?&logoColor=6c6cff&logo=python)][uv-url]
[![mise](https://img.shields.io/badge/using-mise-A8B1FF?logo=pnpm&logoColor=A8B1FF&style=flat)][mise-url]

[![pre-commit](https://github.com/skaylink/maws/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/skaylink/maws/actions/workflows/pre-commit.yml)
[![tests](https://github.com/skaylink/maws/actions/workflows/tests.yml/badge.svg)](https://github.com/skaylink/maws/actions/workflows/tests.yml)

## Setup local development stack

### Install [mise][mise-url]

```bash
mise install
```

### Configuration

You can either use environment variables `API_BASE_URL` and `API_ACCESS_TOKEN` or create a `~/.skaylink/profile.toml` file with your API access details:

```toml
[profiles.dev]
API_BASE_URL = "<your-dev-deployment-endpoint>"
API_ACCESS_TOKEN = "<your-dev-api-token>"

[profiles.prod]
API_BASE_URL = "<your-prod-deployment-endpoint>"
API_ACCESS_TOKEN = "<your-prod-api-token>"
```

#### Run the following command to execute the client locally

```bash
# Using a specific profile
mise dev ecs deploy service-name image-tag --profile dev
```

#### Run tests

```bash
mise test
```

<!-- links -->

[python-url]: https://www.python.org
[typer-url]: https://typer.tiangolo.com
[uv-url]: https://github.com/astral-sh/uv
[mise-url]: https://mise.jdx.dev/installing-mise.html#homebrew
