Metadata-Version: 2.1
Name: appconfig-cli
Version: 0.2.0
Summary: Unofficial CLI tool for working with AWS AppConfig
Home-page: https://github.com/nicksnell/appconfig-cli
License: MIT
Keywords: appconfig,aws,cli,aws-appconfig,appconfig-cli,cli-tool
Author: Nick Snell
Author-email: n@nicksnell.com
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Dist: boto3 (>=1.27.0,<2.0.0)
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: rich (>=13.4.2,<14.0.0)
Project-URL: Repository, https://github.com/nicksnell/appconfig-cli
Description-Content-Type: text/markdown

# AWS AppConfig CLI

**NOTE: This is still early in development**

> CLI tool for working with AWS AppConfig

This tool is designed to make working with [AWS AppConfig](https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html) a little easier. The default API, and therefore the [AWS SDK's and CLI](https://docs.aws.amazon.com/cli/latest/reference/appconfig/index.html) tools rely on knowledge of obscure ID's to reference applications, profiles, environments etc. This CLI allows you to use the familiar names of these components as well as simplifying the interface to AppConfig.


### Current limitations
- Only supports Hosted Configuration AppConfig
- Only supports JSON formatted Hosted configuration
- Only supports getting & updating configuration


## Usage

```
> appconf --help
Usage: appconf [OPTIONS] COMMAND [ARGS]...

Options:
  --aws-profile TEXT  AWS Profile Name
  --help              Show this message and exit.

Commands:
  get  Get the current hosted configuration for the application & profile
  put  Upload a new hosted configuration version for the application &...
```

## Examples:

- Get current config: `appconf get --app <application name> --profile <profile name>`
- Put new config: 
  - `appconf put -a <application name> -p <profile name> path/to/config.json`
  - `appconf put -a <application name> -p <profile name> < cat path/to/config.json`
  - `cat path/to/config.json | appconf put -a <application name> -p <profile name>`

# Changelog

**0.1.1**
- Corrected/caught error when retrieving profiles with no configuration
- Support for pipes when using "put" config

