modrc
The CLI to make managing your config files across systems easier.
Description
ModRC makes it easy to install, manage, and sync your dotfiles or any other config across all your computers.
Installation
Installation of ModRC is easy, install it directly from PyPI.
$ pip install modrc
If you want to edit the installed code or PyPI is not available, setuptools works for installation.
$ pip install -e .
After installing with pip, run the installation command.
$ modrc setup install
This will create the ModRC directory at ~/.modrc.
Usage
ModRC consists of a number of sub-commands to manage your installatio and files. Not all commands are available/working as this project is still in Alpha. This list acts as a guideline for development, not an official list of forthcoming commands.
Setup
modrc setup
modrc setup install [(-e|--editor) <editor>] [(-u|--url) <url>] [(-p|--package) <package>] [(-c|--compile)] [(-s|--auto-sync)]
modrc setup uninstall
Compile
modrc compile [--package <package> [--file <file>]]
Package
modrc package add [(-d | --default)] [--url <url>] <package>
modrc package remove [-y] <package>
modrc package edit [<package>]
modrc package default <package>
modrc package sync [<package>]
File
modrc file add <file> [<package>]
modrc file remove [-y] <file> [<package>]
modrc file edit [((-c|--compile)|(-n|--no-compile))] <file> [<package>]
Filter
modrc filter add <filter> <file> [<package>]
modrc filter remove [-y] <filter> <file> [<package>]
modrc filter edit <filter> <file> [<package>]
Chunk
modrc chunk add <chunk> [<package>]
modrc chunk remove [-y] <chunk> [<package>]
modrc chunk edit <chunk> [<package>]
Testing
Testing is slightly complicated since ModRC creates and deletes files in a user's home directory. To avoid modifying files in your home directory, it is advised to run the tests in a container. To run the tests in an isolated Docker container, use the following command. It will mount the code as a volume so you dont have to re-compile the container every time the tests run.
$ ./run_tests.sh
Release files for modrc 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modrc-0.4.1.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modrc-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / modrc-0.4.1.tar.gz
| Download URL | modrc-0.4.1.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
940c8d79088ba69b8688e7533f95cf79e4249ed2687a09ada3597d90b330ab0d
|
|
BLAKE2b-256 checksum How to use checksums |
d53867936f8f692a598460f8b0b8ac85607dfee00b998c2d94cacaef924da903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|
Release files / modrc-0.4.1-py3-none-any.whl
| Download URL | modrc-0.4.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e9a2c20ea695aaa776b3d6d1d90b6d3df576ecd76339138dca9d1704c6d5303
|
|
BLAKE2b-256 checksum How to use checksums |
97861ed7c60cdc284aa427fa49a48b355d89fa5a1637da08169ed5896536fc27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|