orcli v0.4.1

This commit is contained in:
Felix Lohmeier 2024-12-19 22:17:15 +00:00
parent 05cb0528c1
commit c44785eb9f
6 changed files with 28 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# orcli 0.4.0 # orcli 0.4.1
## command help screens ## command help screens
@ -70,7 +70,7 @@ Examples:
orcli import csv "https://git.io/fj5hF" --projectName "duplicates" orcli import csv "https://git.io/fj5hF" --projectName "duplicates"
orcli transform "duplicates" "https://git.io/fj5ju" orcli transform "duplicates" "https://git.io/fj5ju"
orcli export tsv "duplicates" orcli export tsv "duplicates"
EOF EOF
https://github.com/opencultureconsulting/orcli https://github.com/opencultureconsulting/orcli

View File

@ -18,6 +18,7 @@ Options:
--columnNames COLUMNNAMES --columnNames COLUMNNAMES
set column names (comma separated) set column names (comma separated)
hint: add --ignoreLines 1 to overwrite existing header row hint: add --ignoreLines 1 to overwrite existing header row
Conflicts: --headerLines
--encoding ENCODING --encoding ENCODING
set character encoding set character encoding
@ -28,6 +29,7 @@ Options:
--headerLines HEADERLINES --headerLines HEADERLINES
parse x line(s) as column headers parse x line(s) as column headers
Default: 1 Default: 1
Conflicts: --columnNames
--ignoreLines IGNORELINES --ignoreLines IGNORELINES
ignore first x line(s) at beginning of file ignore first x line(s) at beginning of file
@ -48,7 +50,7 @@ Options:
--quoteCharacter QUOTECHARACTER --quoteCharacter QUOTECHARACTER
quote character to enclose cells containing column separators quote character to enclose cells containing column separators
Default: " Default: \"
--skipBlankRows --skipBlankRows
do not store blank rows do not store blank rows

View File

@ -14,6 +14,7 @@ Options:
--columnNames COLUMNNAMES --columnNames COLUMNNAMES
set column names (comma separated) set column names (comma separated)
hint: add --ignoreLines 1 to overwrite existing header row hint: add --ignoreLines 1 to overwrite existing header row
Conflicts: --headerLines
--encoding ENCODING --encoding ENCODING
set character encoding set character encoding
@ -24,6 +25,7 @@ Options:
--headerLines HEADERLINES --headerLines HEADERLINES
parse x line(s) as column headers parse x line(s) as column headers
Default: 1 Default: 1
Conflicts: --columnNames
--ignoreLines IGNORELINES --ignoreLines IGNORELINES
ignore first x line(s) at beginning of file ignore first x line(s) at beginning of file
@ -44,7 +46,7 @@ Options:
--quoteCharacter QUOTECHARACTER --quoteCharacter QUOTECHARACTER
quote character to enclose cells containing column separators quote character to enclose cells containing column separators
Default: " Default: \"
--skipBlankRows --skipBlankRows
do not store blank rows do not store blank rows

View File

@ -36,7 +36,7 @@ Examples:
orcli import csv "https://git.io/fj5hF" --projectName "duplicates" orcli import csv "https://git.io/fj5hF" --projectName "duplicates"
orcli transform "duplicates" "https://git.io/fj5ju" orcli transform "duplicates" "https://git.io/fj5ju"
orcli export tsv "duplicates" orcli export tsv "duplicates"
EOF EOF
orcli run --memory "2000M" --port "3334" << EOF orcli run --memory "2000M" --port "3334" << EOF
orcli import csv "https://git.io/fj5hF" --projectName "duplicates" & orcli import csv "https://git.io/fj5hF" --projectName "duplicates" &
orcli import csv "https://git.io/fj5hF" --projectName "copy" & orcli import csv "https://git.io/fj5hF" --projectName "copy" &
@ -46,10 +46,10 @@ Examples:
orcli export tsv "duplicates" --output duplicates.tsv & orcli export tsv "duplicates" --output duplicates.tsv &
wait wait
wc duplicates* wc duplicates*
EOF EOF
orcli run --interactive "file1.sh" "file2.sh" - << EOF orcli run --interactive "file1.sh" "file2.sh" - << EOF
echo "finished in $SECONDS seconds" echo "finished in $SECONDS seconds"
EOF EOF
``` ```

2
orcli
View File

@ -5178,7 +5178,7 @@ orcli_run_parse_requirements() {
# :command.initialize # :command.initialize
initialize() { initialize() {
version="0.4.0" version="0.4.1"
long_usage='' long_usage=''
set -e set -e

View File

@ -1,6 +1,6 @@
name: orcli name: orcli
help: OpenRefine command-line interface written in Bash help: OpenRefine command-line interface written in Bash
version: 0.4.0 version: 0.4.1
footer: https://github.com/opencultureconsulting/orcli footer: https://github.com/opencultureconsulting/orcli
dependencies: dependencies: