Metadata-Version: 2.1
Name: pycfalias
Version: 0.0.3
Summary: Easy Cloudflare email alias management
Project-URL: Homepage, https://github.com/ellie-gar/pycfalias
Project-URL: Bug Tracker, https://github.com/ellie-gar/pycfalias/issues
Author-email: Eliel Garcia <inbox@eliel-garcia.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# pycfalias
Easy Cloudflare email alias management

### Installation

1. Install via python pip
   ```
   pip install pycfalias
   ```
2. Configure either via configuration file or environment variables
   ```
   export CF_FORWARD_EMAIL=$your_forward_email
   export CF_TOKEN=$your_cloudflare_token
   export CF_ZONE=$your_cloudflare_zone
   ``` 
   OR

   Create a file in your home directory called ```.pycfalias.toml``` (note the dot)
   ```
   "CF_FORWARD_EMAIL" = "$your_forward_email"
   "CF_TOKEN" = "$your_cloudflare_token"
   "CF_ZONE" = "$your_cloudflare_zone"
   ```

<p align="right">(<a href="#readme-top">back to top</a>)</p>


<!-- USAGE EXAMPLES -->
## Usage

List email aliases
```
pycfalias -l [--list]
```

Create an email alias
```
pycfalias -c [--create]
```

Remove existing email alias
```
pycfalias -r [--remove]
```


<p align="right">(<a href="#readme-top">back to top</a>)</p>


<!-- ACKNOWLEDGMENTS -->
## Acknowledgments

* Inspiration - [cf-alias](https://github.com/dustinblackman/cf-alias)


