yt-dlp /
yt-dlp
A feature-rich command-line audio/video downloader
97/100 healthLoading repository data…
andywerner / repository
A command line interface to read and manipulate YAML files. Based on python, distributed as pip.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A command line interface to read and manipulate YAML files. Based on python, distributed as pip.
git clone https://github.com/Gallore/yaml_cli
cd yaml_cli
pip install .
How to set a key:
> yaml_cli -s key:subkey value
key:
subkey: value
Support of different data types:
> yaml_cli \
-n andy:test:number 5 \ # number value
-b andy:test:bolean_value true \ # boolean value
-s andy:test:a_string 'Text with whitespaces' \ # string value
-l andy:test:basic_list_support item1 and2 and3 \ # list value
--null andy:test:null_value # null value
# output - YAML doesn't keep order
andy:
test:
a_string: Text with whitespaces
basic_list_support:
- item1
- and2
- and3
bolean_value: true
null_value: null
number: 5
Delete keys:
> yaml_cli
-s andy:subkey_one foo
-s andy:subkey_two will_be_deleted # add key andy:subkey_two ...
-d andy:subkey_two # ... and removing it again. gone!
andy:
subkey_one: foo
usage: yaml_cli [-h] [-i INPUT] [-o OUTPUT] [-f FILE] [-d KEY] [-s KEY VAL]
[-n KEY VAL] [-b KEY VAL] [-l KEY [VAL ...]] [--null KEY]
[--version] [-v] [--debug]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
YAML file to load. Of not provided an empty YAML will
be the base for all operations.
-o OUTPUT, --output OUTPUT
Output file. If not provided output is written to
STDOUT
-f FILE, --file FILE YAML file for inplace manipulation.
-d KEY, --delete KEY Delete key: mykey:subkey:subkey. Skipped silently if
key doesn't exist.
-s KEY VAL, --string KEY VAL
Set key with string value: mykey:subkey:subkey 'my
value'
-n KEY VAL, --number KEY VAL
Set key with number value: mykey:subkey:subkey 3.7
-b KEY VAL, --boolean KEY VAL
Set key with number value: mykey:subkey:subkey true
(possible values: ('1', 'true', 'True', 'yes') ('',
'0', 'false', 'False', 'no'))
-l KEY [VAL ...], --list KEY [VAL ...]
Set key with value as list of strings:
mykey:subkey:subkey intem1 intem2 intem3
--null KEY Set key with null value: mykey:subkey:subkey
--version show program's version number and exit
-v, --verbose Verbose output
--debug Debug output
Selected from shared topics, language and repository description—not editorial ratings.
yt-dlp /
A feature-rich command-line audio/video downloader
97/100 healthgoogle /
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
82/100 healthcookiecutter /
A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
chriskiehl /
Turn (almost) any Python command line program into a full GUI application with one line
89/100 healthwting /
A cd command that learns - easily navigate directories from the command line
79/100 healthTheR1D /
A command-line productivity tool powered by AI large language models like GPT-5, will help you accomplish your tasks faster and more efficiently.
92/100 health