Skip to main content

No project description provided

Project description

putconf

putconf is a nice way to generate and install config files.

To use putconf, you provide it a directory or git repository containing the config files you want to install, and it puts them in your home folder (or somewhere else of your choosing).

PyPI - Version PyPI - Python Version


Table of Contents

Installation

putconf provides a script, so it is recommended to install it with pipx:

pipx install putconf

If installed via pip, you will have to run putconf with python -m putconf.

Usage

To use putconf, you need to provide a source, which may be either a local directory or a git repository. For the most part, putconf will simply copy the files in the specified directory into the target directory, which defaults to the current value of ${HOME}.

For convenience, the source may contain a toplevel directory named "dotfiles". Files in this directory are treated as if they reside in the toplevel themselves, but with a dot character . prepended to their names. E.g. dotfiles/bashrc will be installed with the name .bashrc.

Example:

# install from git
putconf ssh://git@github.com:jepugs/my-home-folder
# install from a local directory
putconf Documents/config-files

Run putconf -h to see additional options.

License

putconf is distributed under the terms of the GPL license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

putconf-0.1.0.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distribution

putconf-0.1.0-py3-none-any.whl (17.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page