orcli v0.4.1
This commit is contained in:
parent
05cb0528c1
commit
c44785eb9f
|
@ -1,4 +1,4 @@
|
||||||
# orcli 0.4.0
|
# orcli 0.4.1
|
||||||
|
|
||||||
## command help screens
|
## command help screens
|
||||||
|
|
||||||
|
@ -67,10 +67,10 @@ Examples:
|
||||||
orcli delete "duplicates"
|
orcli delete "duplicates"
|
||||||
orcli run --interactive
|
orcli run --interactive
|
||||||
orcli run << EOF
|
orcli run << EOF
|
||||||
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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
30
help/run.md
30
help/run.md
|
@ -33,23 +33,23 @@ Arguments:
|
||||||
Examples:
|
Examples:
|
||||||
orcli run --interactive
|
orcli run --interactive
|
||||||
orcli run << EOF
|
orcli run << EOF
|
||||||
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" &
|
||||||
wait
|
wait
|
||||||
echo "finished import"
|
echo "finished import"
|
||||||
orcli export csv "duplicates" --output duplicates.csv &
|
orcli export csv "duplicates" --output duplicates.csv &
|
||||||
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
2
orcli
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue