Metadata-Version: 2.1
Name: argops
Version: 0.1.1
Summary: Promote argo application between environments
Home-page: https://codeberg.org/lyz-code/argops
Author-Email: Lyz <lyz@riseup.net>
License: GPL-3.0-only
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
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: Topic :: Utilities
Classifier: Natural Language :: English
Project-URL: Issues, https://codeberg.org/lyz-code/argops/issues
Project-URL: Homepage, https://codeberg.org/lyz-code/argops
Requires-Python: >=3.9.2
Requires-Dist: typer[all]>=0.9.0
Requires-Dist: GitPython>=3.1.43
Requires-Dist: ruyaml>=0.91.0
Requires-Dist: pydantic>=2.9.1
Provides-Extra: testing
Description-Content-Type: text/markdown

# argops

A command-line interface for promoting Argocd applications between environments.

Features:

- smart promote of value files between environments
- Dry-run option to see the changes.

## Installing

```bash
pipx install argops
```

## Usage

To use the tool, simply run it from your terminal on the directory where your environment directories are.

```bash
argops \
  --src-dir=<source directory> \
  --dest-dir=<destination directory> \
  --dry-run
```

By default the source directory is `staging` and the destination directory `production`. The `--dry-run` flag will show you what changes will it do without making them.

Once you know that the changes are ok, remove the `--dry-run` option.

# Development

If you want to run the tool from source, make sure you have Python and all required packages installed. You can do this using:
```bash
git clone https://codeberg.org/lyz/argops 
cd argops
make init
```

## Help

If you need help or want to report an issue, please see our [issue tracker](https://codeberg.org/lyz/argops/issues).

## License

GPLv3

## Authors

Lyz
