mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
doc updates
This commit is contained in:
@ -6,6 +6,7 @@ jc changelog
|
|||||||
- Add OSX support for the df parser
|
- Add OSX support for the df parser
|
||||||
- Add OSX support for the mount parser
|
- Add OSX support for the mount parser
|
||||||
- Add tests for ls, dig, ps, w, uptime on OSX
|
- Add tests for ls, dig, ps, w, uptime on OSX
|
||||||
|
- Add about option
|
||||||
- Add universal parsers to refactor repetitive code
|
- Add universal parsers to refactor repetitive code
|
||||||
- Updated ifconfig parser to output 'state' as an array
|
- Updated ifconfig parser to output 'state' as an array
|
||||||
|
|
||||||
|
@ -3,7 +3,11 @@ jc - JSON CLI output utility arp Parser
|
|||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
specify --arp as the first argument if the piped input is coming from arp
|
specify --arp as the first argument if the piped input is coming from:
|
||||||
|
|
||||||
|
arp
|
||||||
|
or
|
||||||
|
arp -a
|
||||||
|
|
||||||
Compatibility:
|
Compatibility:
|
||||||
|
|
||||||
@ -83,6 +87,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -69,6 +69,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -321,6 +321,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -49,6 +49,11 @@ Examples:
|
|||||||
"_": "/usr/bin/env"
|
"_": "/usr/bin/env"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -49,6 +49,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -67,6 +67,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -41,6 +41,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -58,6 +58,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -142,6 +142,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -131,6 +131,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -73,6 +73,11 @@ Example:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -140,6 +140,11 @@ Examples:
|
|||||||
"date": "May 3 2019"
|
"date": "May 3 2019"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -212,6 +212,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -103,6 +103,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -93,6 +93,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -53,6 +53,11 @@ Example:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -309,6 +309,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -173,6 +173,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -97,6 +97,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -247,6 +247,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -101,6 +101,11 @@ Examples:
|
|||||||
..
|
..
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -37,6 +37,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -56,6 +56,11 @@ Examples:
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -31,6 +31,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -28,6 +28,11 @@ Examples:
|
|||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -27,6 +27,11 @@ Example:
|
|||||||
"kernel_version": "#74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019"
|
"kernel_version": "#74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -31,6 +31,11 @@ Example:
|
|||||||
"load_15m": "0.05"
|
"load_15m": "0.05"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
@ -79,6 +79,11 @@ Examples:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
## info
|
||||||
|
```python
|
||||||
|
info(self, /, *args, **kwargs)
|
||||||
|
```
|
||||||
|
|
||||||
## process
|
## process
|
||||||
```python
|
```python
|
||||||
process(proc_data)
|
process(proc_data)
|
||||||
|
Reference in New Issue
Block a user