Merge pull request #63 from opencultureconsulting:felixlohmeier/batch-use-heredoc-58

update README
This commit is contained in:
Felix Lohmeier 2022-10-06 13:36:00 +02:00 committed by GitHub
commit 27eae58073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 34 deletions

View File

@ -51,12 +51,13 @@ $ orcli --help
orcli - OpenRefine command-line interface written in Bash
Usage:
orcli [command]
orcli [command] --help | -h
orcli COMMAND
orcli [COMMAND] --help | -h
orcli --version | -v
Commands:
batch start tmp OpenRefine workspace and run multiple orcli commands
completions Generate bash completions
batch run tmp OpenRefine workspace and execute shell script
import import commands
list list projects on OpenRefine server
info show project metadata
@ -80,10 +81,11 @@ Examples:
orcli info "duplicates"
orcli export tsv "duplicates"
orcli export tsv "duplicates" --output "duplicates.tsv"
orcli batch \
import csv "https://git.io/fj5hF" --projectName "duplicates" \
info "duplicates" \
export tsv "duplicates"
orcli batch << EOF
orcli import csv "https://git.io/fj5hF" --projectName "duplicates"
orcli info "duplicates"
orcli export tsv "duplicates"
EOF
https://github.com/opencultureconsulting/orcli
```