mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 17:02:39 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/ffe
12
tldr/ffe
@@ -11,24 +11,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display all input data using the specified data configuration:
|
||||
|
||||
`ffe --configuration={{path/to/config.ffe}} {{path/to/input}}`
|
||||
`ffe {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}`
|
||||
|
||||
- Convert an input file to an output file in a new format:
|
||||
|
||||
`ffe --output={{path/to/output}} -c {{path/to/config.ffe}} {{path/to/input}}`
|
||||
`ffe --output={{path/to/output}} {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}`
|
||||
|
||||
- Select input structure and print format from definitions in `~/.fferc` configuration file:
|
||||
|
||||
`ffe --structure={{structure}} --print={{format}} {{path/to/input}}`
|
||||
`ffe {{[-s|--structure]}} {{structure}} {{[-p|--print]}} {{format}} {{path/to/input}}`
|
||||
|
||||
- Write only the selected fields:
|
||||
|
||||
`ffe --field-list="{{FirstName,LastName,Age}}" -c {{path/to/config.ffe}} {{path/to/input}}`
|
||||
`ffe {{[-f|--field-list]}} "{{FirstName,LastName,Age}}" {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}`
|
||||
|
||||
- Write only the records that match an expression:
|
||||
|
||||
`ffe -e "{{LastName=Smith}}" -c {{path/to/config.ffe}} {{path/to/input}}`
|
||||
`ffe {{[-e|--expression]}} "{{LastName=Smith}}" {{[-c|--configuration]}} {{path/to/config.ffe}} {{path/to/input}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`ffe --help`
|
||||
`ffe {{[-?|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user