A configuratable config manager for your packages.
Project description
Config Manager (cmgr)
cmgr is a command-line tool to manage configurations and packages. It's designed to be simple and easy to use. It's written in Python and can be installed via pip and pipx.
Get Started
pip install cmgr # Install cmgr
cmgr # Run cmgr. Detect all `cmgr.toml` under current folder.
Installation
# using pip
pip install --user cmgr # install cmgr
pip install --upgrade cmgr # upgrade cmgr
pip uninstall cmgr # uninstall cmgr
# using pipx
pipx install cmgr # install cmgr
pipx upgrade cmgr # upgrade cmgr
pipx uninstall cmgr # uninstall cmgr
Usage
# Shell
cmgr --help # Command-line help message.
cmgr --version # Show version information.
cmgr # Run cgmr. Will looking for all cmgr.toml under current folder.
cmgr -p/--profile '/path/to/root/cmgr.toml' # Run cmgr with specific profile.
cmgr -r/--root '/path/to/root/' # Run cmgr with specific root folder.
cmgr -n/--name 'my-cmgr.toml' # Run cmgr with specific profile's filename.
cmgr -y/--yes # Automatically confirm all prompts.
# Install package
cmgr install ping3 # Install a package named ping3. Using default package manager.
cmgr install ping3 -c/--command 'ping3' # Use specific command to detect if the package is installed before install.
cmgr install ping3 -m/--manager 'pip' # Use specific package manager to install the package.
# Copy configuration
cmgr config "bash.conf" "~/.bashrc" # Copy `./bash.conf` to `~/.bashrc`.
cmgr config "bash.conf" "~/.bashrc" -n/--name "BASH" # Copy `bash.conf` to `~/` as `.bashrc` with specific name in output.
Profile
- A cmgr profile example: cmgr-example.toml
- A minimal cmgr profile: cmgr-minimal.toml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmgr-0.3.0.tar.gz
(7.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cmgr-0.3.0-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file cmgr-0.3.0.tar.gz.
File metadata
- Download URL: cmgr-0.3.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1634aebaedc70dd55b43f41bf23dfe3872bca870b064a502e16eceda01cb04d8
|
|
| MD5 |
57d598dfaab820f283292f8b75bb3620
|
|
| BLAKE2b-256 |
bd61abf91a4dbacad6de553a92ea054be6221e137480edaa718c1dabbb85dea4
|
File details
Details for the file cmgr-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cmgr-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b833e9b4f5b5cba00de795f7e45a290fc7b35ab75c57a830573f0e4dd897a45
|
|
| MD5 |
149ce1dee95a7235f869ab077fde68d0
|
|
| BLAKE2b-256 |
303107d184ad8ba17582844f331d204d88f11da8501850c57088a94e67d0b9d1
|