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 orcli - OpenRefine command-line interface written in Bash
Usage: Usage:
orcli [command] orcli COMMAND
orcli [command] --help | -h orcli [COMMAND] --help | -h
orcli --version | -v orcli --version | -v
Commands: 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 import import commands
list list projects on OpenRefine server list list projects on OpenRefine server
info show project metadata info show project metadata
@ -80,10 +81,11 @@ Examples:
orcli info "duplicates" orcli info "duplicates"
orcli export tsv "duplicates" orcli export tsv "duplicates"
orcli export tsv "duplicates" --output "duplicates.tsv" orcli export tsv "duplicates" --output "duplicates.tsv"
orcli batch \ orcli batch << EOF
import csv "https://git.io/fj5hF" --projectName "duplicates" \ orcli import csv "https://git.io/fj5hF" --projectName "duplicates"
info "duplicates" \ orcli info "duplicates"
export tsv "duplicates" orcli export tsv "duplicates"
EOF
https://github.com/opencultureconsulting/orcli https://github.com/opencultureconsulting/orcli
``` ```