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

Request for Feature #61

Closed
ondohotola opened this issue Jun 30, 2021 · 6 comments
Closed

Request for Feature #61

ondohotola opened this issue Jun 30, 2021 · 6 comments

Comments

@ondohotola
Copy link

Would it be difficult to add another output format similar to TEXT but using Unicode drawing
characters, ie what the parameter "-box" does for sqlite3?

It's just for aesthetics :-)-O

greetings, el

@mithrandie
Copy link
Owner

I want that feature too!
Maybe it's not so difficult to implement.

mithrandie added a commit that referenced this issue Feb 26, 2022
- Support JSON Lines format. ([GitHub #58](#58))
- Support BOX format as an export format. ([GitHub #61](#61))
@mithrandie
Copy link
Owner

This feature has been included in version 1.16.0.

@ondohotola
Copy link
Author

ondohotola commented Feb 27, 2022 via email

@ondohotola
Copy link
Author

ondohotola commented Mar 1, 2022 via email

@mithrandie
Copy link
Owner

.csvq_env.json can only set a few options.
You can write statements in a specific file and run it before each execution.

touch $HOME/.csvqrc
echo 'SET @@FORMAT TO BOX' > $HOME/.csvqrc

These files will be loaded and run before each execution.

  1. $XDG_CONFIG_HOME/csvq/csvqrc or $HOME/.config/csvq/csvqrc
  2. $HOME/.csvqrc
  3. $HOME/.csvq/csvqrc
  4. CURRENT_DIRECTORY/csvqrc

cf. https://mithrandie.github.io/csvq/reference/command.html#configurations

@ondohotola
Copy link
Author

ondohotola commented Mar 1, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants