Metadata-Version: 2.1
Name: ActDeact
Version: 1.0.0
Summary: Activate and deactivate config files easily
Home-page: https://github.com/wutzi15/actDeact
Author: Benedikt Bergenthal
Author-email: mail@benedikt-bergenthal.de
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/wutzi15/actDeact/issues
Project-URL: Source, https://github.com/wutzi15/actDeact
Keywords: config configfile Activate deactivate
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: Topic :: System :: Systems Administration
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: ConfigParser

# A very simple [De]Activator for config files

This tool renames files by adding and removing a predefined prefix and suffix. It's intented use is to quickly activate and deactivate config files. 
## Installation 
```
$ pip install ActDeact
```
## Usage
```
Usage: actDeact [options] args

Options:
  --version         show program's version number and exit
  -h, --help        show this help message and exit
  -a, --activate    Activate file(s)
  -d, --deactivate  Deactivate file(s)
  -v, --verbose     Verbose output
  -c, --config      Show the filename of the config file for editing
```
Also two helper programs `act` and `deact` are provided. They are aliases to `actDeact -d` and `actDeact -a` and pass every argument directly to those programs. 
### Example
`actDeact -d foo` renames `foo` to `foo_bak` by default. This is equivaltent to `deact foo` .
`actDeact -a foo` renames `foo_bak` to `foo` by default. This is equivaltent to `act foo` .

## Configuration 
`actDeact -c` shows the filename of the configuration file. Its default content is:
```
[Main]
Prefix=
Suffix=_bak
```
In this file a prefix and a suffix can be set. 



