-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
68 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "xtab" | ||
version = "0.0.6" | ||
version = "0.0.7" | ||
authors = ["sharkLoc <[email protected]>"] | ||
edition = "2021" | ||
homepage = "https://github.com/sharkLoc/xtab" | ||
|
@@ -29,7 +29,8 @@ rand = "0.8.5" | |
rand_pcg = "0.3.1" | ||
regex = "1.10.4" | ||
rust_xlsxwriter = "0.64.2" | ||
thiserror = "1.0.60" | ||
xz2 = "0.1.7" | ||
|
||
[profile.release] | ||
strip = true | ||
strip = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ cargo b --release | |
|
||
```bash | ||
xtab -- CSV command line utilities | ||
Version: 0.0.6 | ||
Version: 0.0.7 | ||
|
||
Authors: sharkLoc <[email protected]> | ||
Source code: https://github.com/sharkLoc/xtab.git | ||
|
@@ -59,9 +59,6 @@ Commands: | |
view Show CSV file content | ||
help Print this message or the help of the given subcommand(s) | ||
|
||
Options: | ||
-h, --help Print help (see more with '--help') | ||
|
||
Global Arguments: | ||
-d, --delimiter <CHAR> Set delimiter for input csv file, e.g., in linux -d $'\t' for tab, in powershell -d `t for tab [default: ,] | ||
-D, --out-delimite <CHAR> Set delimiter for output CSV file, e.g., in linux -D $'\t' for tab, in powershell -D `t for tab [default: ,] | ||
|
@@ -73,6 +70,8 @@ Global Arguments: | |
Global FLAGS: | ||
-H, --no-header If set, the first row is treated as a special header row, and the original header row excluded from output | ||
-q, --quiet Be quiet and do not show any extra information | ||
-h, --help prints help information | ||
-V, --version prints version information | ||
Use "xtab help [command]" for more information about a command | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use thiserror::Error; | ||
use std::io; | ||
|
||
#[derive(Debug, Error)] | ||
pub enum Xerror { | ||
#[error("stdin not detected")] | ||
StdinNotDetected, | ||
|
||
#[error("failed to open file: {0}")] | ||
IoError(#[from] io::Error), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters