https://github.com/regisb/ced
[WIP] A lightweight, cross-platform, no-dependency configuration editor.
https://github.com/regisb/ced
Last synced: over 1 year ago
JSON representation
[WIP] A lightweight, cross-platform, no-dependency configuration editor.
- Host: GitHub
- URL: https://github.com/regisb/ced
- Owner: regisb
- Created: 2017-09-19T10:05:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-19T11:12:17.000Z (almost 9 years ago)
- Last Synced: 2025-02-22T04:20:24.383Z (over 1 year ago)
- Language: Python
- Homepage: https://pypi.org/project/ced/
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
ced
===
A lightweight, cross-platform, no-dependency configuration editor.
Install
=======
::
pip install ced
For convenience, you may also directly download the `ced` script::
curl https://raw.githubusercontent.com/regisb/ced/master/ced/ced > ced
chmod u+x ced
This is useful if you don't want to install pip in your environment.
Usage
=====
::
$ ced -h
usage: ced [-h] [-o OUTPUT] [-d DELIMITER] [-s] [-V VALUE] src
A lightweight, cross-platform, no-dependency configuration editor.
positional arguments:
src path to source file
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
path to destination file; if unset, print to stdout
-d DELIMITER, --delimiter DELIMITER
placeholder delimiter
-s, --safe do not raise error on missing placeholder values
-V VALUE, --value VALUE
explicitely set a value: formated as 'var=value'