mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
doc update
This commit is contained in:
@ -251,8 +251,8 @@ option.
|
|||||||
| ` --sfdisk` | `sfdisk` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/sfdisk) |
|
| ` --sfdisk` | `sfdisk` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/sfdisk) |
|
||||||
| ` --shadow` | `/etc/shadow` file parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/shadow) |
|
| ` --shadow` | `/etc/shadow` file parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/shadow) |
|
||||||
| ` --ss` | `ss` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/ss) |
|
| ` --ss` | `ss` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/ss) |
|
||||||
| ` --ssh-conf` | ssh config file and `ssh -G` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/ssh_conf) |
|
| ` --ssh-conf` | `ssh` config file and `ssh -G` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/ssh_conf) |
|
||||||
| ` --sshd-conf` | sshd config file and `sshd -T` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/sshd_conf) |
|
| ` --sshd-conf` | `sshd` config file and `sshd -T` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/sshd_conf) |
|
||||||
| ` --stat` | `stat` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/stat) |
|
| ` --stat` | `stat` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/stat) |
|
||||||
| ` --stat-s` | `stat` command streaming parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/stat_s) |
|
| ` --stat-s` | `stat` command streaming parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/stat_s) |
|
||||||
| ` --sysctl` | `sysctl` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/sysctl) |
|
| ` --sysctl` | `sysctl` command parser | [details](https://kellyjonbrazil.github.io/jc/docs/parsers/sysctl) |
|
||||||
|
@ -251,8 +251,8 @@ _jc() {
|
|||||||
'--sfdisk:`sfdisk` command parser'
|
'--sfdisk:`sfdisk` command parser'
|
||||||
'--shadow:`/etc/shadow` file parser'
|
'--shadow:`/etc/shadow` file parser'
|
||||||
'--ss:`ss` command parser'
|
'--ss:`ss` command parser'
|
||||||
'--ssh-conf:ssh config file and `ssh -G` command parser'
|
'--ssh-conf:`ssh` config file and `ssh -G` command parser'
|
||||||
'--sshd-conf:sshd config file and `sshd -T` command parser'
|
'--sshd-conf:`sshd` config file and `sshd -T` command parser'
|
||||||
'--stat:`stat` command parser'
|
'--stat:`stat` command parser'
|
||||||
'--stat-s:`stat` command streaming parser'
|
'--stat-s:`stat` command streaming parser'
|
||||||
'--sysctl:`sysctl` command parser'
|
'--sysctl:`sysctl` command parser'
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# jc.parsers.ssh\_conf
|
# jc.parsers.ssh\_conf
|
||||||
|
|
||||||
jc - JSON Convert ssh configuration file and `ssh -G` command output parser
|
jc - JSON Convert `ssh` configuration file and `ssh -G` command output parser
|
||||||
|
|
||||||
This parser will work with `ssh` configuration files or the output of
|
This parser will work with `ssh` configuration files or the output of
|
||||||
`ssh -G`. Any `Match` blocks in the `ssh` configuration file will be
|
`ssh -G`. Any `Match` blocks in the `ssh` configuration file will be
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# jc.parsers.sshd\_conf
|
# jc.parsers.sshd\_conf
|
||||||
|
|
||||||
jc - JSON Convert sshd configuration file and `sshd -T` command output parser
|
jc - JSON Convert `sshd` configuration file and `sshd -T` command output parser
|
||||||
|
|
||||||
This parser will work with `sshd` configuration files or the output of
|
This parser will work with `sshd` configuration files or the output of
|
||||||
`sshd -T`. Any `Match` blocks in the `sshd` configuration file will be
|
`sshd -T`. Any `Match` blocks in the `sshd` configuration file will be
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""jc - JSON Convert ssh configuration file and `ssh -G` command output parser
|
"""jc - JSON Convert `ssh` configuration file and `ssh -G` command output parser
|
||||||
|
|
||||||
This parser will work with `ssh` configuration files or the output of
|
This parser will work with `ssh` configuration files or the output of
|
||||||
`ssh -G`. Any `Match` blocks in the `ssh` configuration file will be
|
`ssh -G`. Any `Match` blocks in the `ssh` configuration file will be
|
||||||
@ -482,7 +482,7 @@ import jc.utils
|
|||||||
class info():
|
class info():
|
||||||
"""Provides parser metadata (version, author, etc.)"""
|
"""Provides parser metadata (version, author, etc.)"""
|
||||||
version = '1.0'
|
version = '1.0'
|
||||||
description = 'ssh config file and `ssh -G` command parser'
|
description = '`ssh` config file and `ssh -G` command parser'
|
||||||
author = 'Kelly Brazil'
|
author = 'Kelly Brazil'
|
||||||
author_email = 'kellyjonbrazil@gmail.com'
|
author_email = 'kellyjonbrazil@gmail.com'
|
||||||
compatible = ['linux', 'darwin', 'freebsd']
|
compatible = ['linux', 'darwin', 'freebsd']
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""jc - JSON Convert sshd configuration file and `sshd -T` command output parser
|
"""jc - JSON Convert `sshd` configuration file and `sshd -T` command output parser
|
||||||
|
|
||||||
This parser will work with `sshd` configuration files or the output of
|
This parser will work with `sshd` configuration files or the output of
|
||||||
`sshd -T`. Any `Match` blocks in the `sshd` configuration file will be
|
`sshd -T`. Any `Match` blocks in the `sshd` configuration file will be
|
||||||
@ -484,7 +484,7 @@ import jc.utils
|
|||||||
class info():
|
class info():
|
||||||
"""Provides parser metadata (version, author, etc.)"""
|
"""Provides parser metadata (version, author, etc.)"""
|
||||||
version = '1.1'
|
version = '1.1'
|
||||||
description = 'sshd config file and `sshd -T` command parser'
|
description = '`sshd` config file and `sshd -T` command parser'
|
||||||
author = 'Kelly Brazil'
|
author = 'Kelly Brazil'
|
||||||
author_email = 'kellyjonbrazil@gmail.com'
|
author_email = 'kellyjonbrazil@gmail.com'
|
||||||
compatible = ['linux', 'darwin', 'freebsd']
|
compatible = ['linux', 'darwin', 'freebsd']
|
||||||
|
4
man/jc.1
4
man/jc.1
@ -768,12 +768,12 @@ Semantic Version string parser
|
|||||||
.TP
|
.TP
|
||||||
.B
|
.B
|
||||||
\fB--ssh-conf\fP
|
\fB--ssh-conf\fP
|
||||||
ssh config file and `ssh -G` command parser
|
`ssh` config file and `ssh -G` command parser
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B
|
.B
|
||||||
\fB--sshd-conf\fP
|
\fB--sshd-conf\fP
|
||||||
sshd config file and `sshd -T` command parser
|
`sshd` config file and `sshd -T` command parser
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B
|
.B
|
||||||
|
Reference in New Issue
Block a user