You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Input csview command without parameter will get no repsonse in terminal. It seems something wrong? I think the csview cli should check the input parameters and if no input parameter are given (eg, only input csview in terminal), error message should be given for better user experience.
The text was updated successfully, but these errors were encountered:
Hi @wangyongf This is an expected behavior. csview supports reading data from stdin. If run csview without file parameter, it will read the stdin (like cat or bat etc.).
Case 1:
$ csview
a,b,c
1,2,3
4,5,6 (press ctrl-d here will output the following)
+---+---+---+
| a | b | c |
+---+---+---+
| 1 | 2 | 3 |
| 4 | 5 | 6 |
+---+---+---+
Case 2:
$ printf 'a,b,c\n1,2,3' | csview
+---+---+---+
| a | b | c |
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
Check list
Environment info
Version
csview v0.3.4
Problem / Steps to reproduce
Input csview command without parameter will get no repsonse in terminal. It seems something wrong? I think the csview cli should check the input parameters and if no input parameter are given (eg, only input
csview
in terminal), error message should be given for better user experience.The text was updated successfully, but these errors were encountered: