mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
ini to INI
This commit is contained in:
@ -76,7 +76,7 @@ jc PARSER [OPTIONS]
|
||||
- `--hosts` enables the `/etc/hosts` file parser
|
||||
- `--id` enables the `id` parser
|
||||
- `--ifconfig` enables the `ifconfig` parser
|
||||
- `--ini` enables the `ini` file parser
|
||||
- `--ini` enables the `INI` file parser
|
||||
- `--iptables` enables the `iptables` parser
|
||||
- `--jobs` enables the `jobs` parser
|
||||
- `--ls` enables the `ls` parser
|
||||
@ -772,7 +772,7 @@ $ ifconfig | jc --ifconfig -p
|
||||
}
|
||||
]
|
||||
```
|
||||
### ini
|
||||
### INI
|
||||
```
|
||||
$ cat example.ini
|
||||
[DEFAULT]
|
||||
|
@ -2,7 +2,7 @@ jc changelog
|
||||
|
||||
20200205 v1.7.1
|
||||
- Add YAML file parser
|
||||
- Add ini file parser
|
||||
- Add INI file parser
|
||||
- Add XML file parser
|
||||
- Add id parser
|
||||
- Add crontab with user specified file parser
|
||||
|
@ -1,9 +1,9 @@
|
||||
# jc.parsers.ini
|
||||
jc - JSON CLI output utility ini Parser
|
||||
jc - JSON CLI output utility INI Parser
|
||||
|
||||
Usage:
|
||||
|
||||
specify --ini as the first argument if the piped input is coming from a ini file
|
||||
specify --ini as the first argument if the piped input is coming from a INI file
|
||||
|
||||
Compatibility:
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
"""jc - JSON CLI output utility ini Parser
|
||||
"""jc - JSON CLI output utility INI Parser
|
||||
|
||||
Usage:
|
||||
|
||||
specify --ini as the first argument if the piped input is coming from a ini file
|
||||
specify --ini as the first argument if the piped input is coming from a INI file
|
||||
|
||||
Compatibility:
|
||||
|
||||
@ -48,7 +48,7 @@ import configparser
|
||||
|
||||
class info():
|
||||
version = '1.0'
|
||||
description = 'ini file parser'
|
||||
description = 'INI file parser'
|
||||
author = 'Kelly Brazil'
|
||||
author_email = 'kellyjonbrazil@gmail.com'
|
||||
details = 'Using configparser from the standard library'
|
||||
|
Reference in New Issue
Block a user