update examples
This commit is contained in:
parent
b59ddd392c
commit
672fc981d8
10
README.md
10
README.md
|
@ -52,6 +52,7 @@ Usage:
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
info show project metadata
|
info show project metadata
|
||||||
|
import import commands
|
||||||
list list projects on OpenRefine server
|
list list projects on OpenRefine server
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
@ -66,13 +67,12 @@ Environment Variables:
|
||||||
URL to OpenRefine server
|
URL to OpenRefine server
|
||||||
Default: http://localhost:3333
|
Default: http://localhost:3333
|
||||||
|
|
||||||
OPENREFINE_CSRF
|
|
||||||
set to false for OpenRefine < 3.3
|
|
||||||
Default: true
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
orcli list
|
orcli list
|
||||||
orcli info clipboard
|
orcli import csv file
|
||||||
|
orcli import csv
|
||||||
|
"https://github.com/LibraryCarpentry/lc-open-refine/raw/gh-pages/data/doaj-article-sample.csv"
|
||||||
|
orcli info Clipboard
|
||||||
orcli info 1234567890123
|
orcli info 1234567890123
|
||||||
|
|
||||||
https://github.com/opencultureconsulting/orcli
|
https://github.com/opencultureconsulting/orcli
|
||||||
|
|
6
orcli
6
orcli
|
@ -62,6 +62,7 @@ orcli_usage() {
|
||||||
|
|
||||||
printf " orcli list\n"
|
printf " orcli list\n"
|
||||||
printf " orcli import csv file\n"
|
printf " orcli import csv file\n"
|
||||||
|
printf " orcli import csv\n \"https://github.com/LibraryCarpentry/lc-open-refine/raw/gh-pages/data/doaj-article-sample.csv\"\n"
|
||||||
printf " orcli info Clipboard\n"
|
printf " orcli info Clipboard\n"
|
||||||
printf " orcli info 1234567890123\n"
|
printf " orcli info 1234567890123\n"
|
||||||
echo
|
echo
|
||||||
|
@ -194,7 +195,7 @@ orcli_import_csv_usage() {
|
||||||
|
|
||||||
# :argument.usage
|
# :argument.usage
|
||||||
echo " FILE..."
|
echo " FILE..."
|
||||||
printf " Path to one or more files. When FILE is -, read standard input.\n"
|
printf " Path to one or more files or URLs. When FILE is -, read standard input.\n"
|
||||||
printf " Default: -\n"
|
printf " Default: -\n"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
@ -203,7 +204,8 @@ orcli_import_csv_usage() {
|
||||||
|
|
||||||
printf " orcli import csv file\n"
|
printf " orcli import csv file\n"
|
||||||
printf " cat file | orcli import csv\n"
|
printf " cat file | orcli import csv\n"
|
||||||
printf " orcli import csv --separator ; --encoding ISO-8859-1 --trimStrings\n --projectName example\n"
|
printf " orcli import csv file --separator ; --encoding ISO-8859-1 --trimStrings\n --projectName example\n"
|
||||||
|
printf " orcli import csv\n \"https://github.com/LibraryCarpentry/lc-open-refine/raw/gh-pages/data/doaj-article-sample.csv\"\n"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue