|
|
@ -13,7 +13,7 @@ send_completions() {
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' if [[ "${cur:0:1}" == "-" ]]; then'
|
|
|
|
echo $' if [[ "${cur:0:1}" == "-" ]]; then'
|
|
|
|
echo $' echo "$words"'
|
|
|
|
echo $' echo "$words"'
|
|
|
|
echo $' '
|
|
|
|
echo $''
|
|
|
|
echo $' else'
|
|
|
|
echo $' else'
|
|
|
|
echo $' for word in $words; do'
|
|
|
|
echo $' for word in $words; do'
|
|
|
|
echo $' [[ "${word:0:1}" != "-" ]] && result+=("$word")'
|
|
|
|
echo $' [[ "${word:0:1}" != "-" ]] && result+=("$word")'
|
|
|
@ -31,108 +31,108 @@ send_completions() {
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' case "$compline" in'
|
|
|
|
echo $' case "$compline" in'
|
|
|
|
echo $' \'export template\'*\'--mode\')'
|
|
|
|
echo $' \'export template\'*\'--mode\')'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'export jsonl\'*\'--mode\')'
|
|
|
|
echo $' \'export jsonl\'*\'--mode\')'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'export csv\'*\'--mode\')'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'export tsv\'*\'--mode\')'
|
|
|
|
echo $' \'export tsv\'*\'--mode\')'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'export csv\'*\'--mode\')'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "rows records")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'export template\'*)'
|
|
|
|
echo $' \'export template\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --prefix --quiet --separator --suffix -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --prefix --quiet --separator --suffix -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'import jsonl\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--guessCellValueTypes --help --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --rename --storeEmptyStrings --trimStrings -h -q")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'sort columns\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--first --help -h")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'export jsonl\'*)'
|
|
|
|
echo $' \'export jsonl\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --quiet --separator -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --quiet --separator -h -q")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'sort columns\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--first --help -h")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'import jsonl\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--guessCellValueTypes --help --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --rename --storeEmptyStrings --trimStrings -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'completions\'*)'
|
|
|
|
echo $' \'completions\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'import json\'*)'
|
|
|
|
echo $' \'import json\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--guessCellValueTypes --help --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --recordPath --rename --storeEmptyStrings --trimStrings -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--guessCellValueTypes --help --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --recordPath --rename --storeEmptyStrings --trimStrings -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'import csv\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--blankCellsAsStrings --columnNames --encoding --guessCellValueTypes --headerLines --help --ignoreLines --ignoreQuoteCharacter --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --quoteCharacter --separator --skipBlankRows --skipDataLines --trimStrings -h -q")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'import tsv\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--blankCellsAsStrings --columnNames --encoding --guessCellValueTypes --headerLines --help --ignoreLines --ignoreQuoteCharacter --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --quoteCharacter --skipBlankRows --skipDataLines --trimStrings -h -q")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'export csv\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --quiet --select --separator -h -q")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'export tsv\'*)'
|
|
|
|
echo $' \'export tsv\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --quiet --select -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --quiet --select -h -q")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'export csv\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--encoding --facets --help --mode --output --quiet --select --separator -h -q")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'import csv\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--blankCellsAsStrings --columnNames --encoding --guessCellValueTypes --headerLines --help --ignoreLines --ignoreQuoteCharacter --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --quoteCharacter --separator --skipBlankRows --skipDataLines --trimStrings -h -q")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'import tsv\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--blankCellsAsStrings --columnNames --encoding --guessCellValueTypes --headerLines --help --ignoreLines --ignoreQuoteCharacter --includeArchiveFileName --includeFileSources --limit --projectName --projectTags --quiet --quoteCharacter --skipBlankRows --skipDataLines --trimStrings -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'transform\'*)'
|
|
|
|
echo $' \'transform\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help --quiet -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help --quiet -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'delete\'*)'
|
|
|
|
echo $' \'delete\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--force --help --quiet -f -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--force --help --quiet -f -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'import\'*)'
|
|
|
|
echo $' \'import\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h csv json jsonl tsv")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h csv json jsonl tsv")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'search\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help --index -h")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'export\'*)'
|
|
|
|
echo $' \'export\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h csv jsonl template tsv")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h csv jsonl template tsv")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'list\'*)'
|
|
|
|
echo $' \'search\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help --index -h")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'info\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'sort\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h columns")" -- "$cur" )'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'test\'*)'
|
|
|
|
echo $' \'test\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'sort\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h columns")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'info\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur")'
|
|
|
|
|
|
|
|
echo $' ;;'
|
|
|
|
|
|
|
|
echo $''
|
|
|
|
|
|
|
|
echo $' \'list\'*)'
|
|
|
|
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help -h")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' \'run\'*)'
|
|
|
|
echo $' \'run\'*)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help --interactive --memory --port --quiet -h -q")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help --interactive --memory --port --quiet -h -q")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' *)'
|
|
|
|
echo $' *)'
|
|
|
|
echo $' while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_orcli_completions_filter "--help --version -h -v completions delete export import info list run search sort test transform")" -- "$cur" )'
|
|
|
|
echo $' while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_orcli_completions_filter "--help --version -h -v completions delete export import info list run search sort test transform")" -- "$cur")'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $' ;;'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $' esac'
|
|
|
|
echo $' esac'
|
|
|
|
echo $'} &&'
|
|
|
|
echo $'} &&'
|
|
|
|
echo $'complete -F _orcli_completions orcli'
|
|
|
|
echo $' complete -F _orcli_completions orcli'
|
|
|
|
echo $''
|
|
|
|
echo $''
|
|
|
|
echo $'# ex: filetype=sh'
|
|
|
|
echo $'# ex: filetype=sh'
|
|
|
|
}
|
|
|
|
}
|