Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export csv/tsv options #47

Open
felixlohmeier opened this issue Apr 19, 2022 · 4 comments
Open

export csv/tsv options #47

felixlohmeier opened this issue Apr 19, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@felixlohmeier
Copy link
Member

felixlohmeier commented Apr 19, 2022

implement remaining export options

bashly.yml snippet:

        flags:
          - long: --select
            help: filter result set to one or more columns
            repeatable: true
          - long: --facets
            help: filter result set by providing an OpenRefine facets config in json
          - long: --mode
            help: set operation mode
            arg: mode
            default: "row-based"
          - long: --noHeader
            help: do not output column header
          - long: --blankRows
            help: output blank rows
          - long: --quoteAll
            help: quote all cells
          - long: --preview
            help: limit export to 10 rows/records
          - long: --separator
            help: character(s) that separates columns
            arg: separator
            default: "\t"
          - long: --lineSeparator
            help: character(s) that separates rows/records
            arg: lineSeparator
            default: "\n"
@felixlohmeier felixlohmeier added the enhancement New feature or request label Apr 19, 2022
@felixlohmeier felixlohmeier self-assigned this Apr 19, 2022
@felixlohmeier
Copy link
Member Author

@felixlohmeier
Copy link
Member Author

feedback rows: is misleading. should be renamed to lines:

log "exported ${args[project]}" "file: ${args[--output]}" "rows: $(wc -l <"${args[--output]}")"

@felixlohmeier
Copy link
Member Author

feedback rows: is misleading. should be renamed to lines:

done #99

      - long: --facets
        help: filter result set by providing an OpenRefine facets config in json

done #99

@felixlohmeier
Copy link
Member Author

      - long: --select
        help: filter result set to one or more columns
        repeatable: true

will be done in #116

@felixlohmeier felixlohmeier changed the title export tsv options export csv/tsv options Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant