Vinícius Miguel
|
38e7009a27
|
cli: add an alias for the compress subcommand
|
2021-04-08 22:46:47 -03:00 |
|
Vinícius Miguel
|
b614533fd5
|
utils: fix usage of the -n, --no flag
|
2021-04-08 22:31:10 -03:00 |
|
Vinícius Miguel
|
c94b49f013
|
cli: Only suggest the typo correction and exit
|
2021-04-08 12:48:52 -03:00 |
|
Vinícius Miguel
|
5ca99c101e
|
oof: remove unnecessary closures (((and undo last commit)))
|
2021-04-08 03:03:07 -03:00 |
|
Vinícius Miguel
|
e7eb55a4cf
|
test: make_dummy_files: return an error instead of panicking
|
2021-04-08 02:55:34 -03:00 |
|
Vinícius Miguel
|
2f6ac5e54c
|
error: Save std::io::Error as a crate::Error variant
|
2021-04-08 00:26:02 -03:00 |
|
Vinícius Miguel
|
faae7c088f
|
oof: add error variant MissingValueToFlag
|
2021-04-07 23:28:37 -03:00 |
|
Vinícius Miguel
|
d9b39706e2
|
Drop dependency on Termion
|
2021-04-07 02:23:50 -03:00 |
|
Vinícius Miguel
|
0026e4d4de
|
Drop dependency on Colored
|
2021-04-07 02:02:50 -03:00 |
|
Vinícius Miguel
|
8a4ac5d6d1
|
cli: Check for typos on ouch compress
|
2021-04-07 00:26:53 -03:00 |
|
João M. Bezerra
|
e1c72a6a6b
|
Removing unused cli::CommandInfo
|
2021-04-06 23:36:44 -03:00 |
|
João M. Bezerra
|
3ac28b8d5c
|
Fixing Windows build warnings
|
2021-04-06 23:16:39 -03:00 |
|
João M. Bezerra
|
bb004dc78c
|
Fixing Windows build: no termion support
|
2021-04-06 23:12:40 -03:00 |
|
João M. Bezerra
|
df1bc879cb
|
New --help message
|
2021-04-06 22:52:41 -03:00 |
|
João M. Bezerra
|
973af5fe1c
|
Change evaluator.rs to commands.rs
|
2021-04-06 21:18:56 -03:00 |
|
João M. Bezerra
|
3869c2502e
|
Moving bytes.rs implementation to utils.rs
|
2021-04-06 21:16:33 -03:00 |
|
Vinícius Miguel
|
20bcf1ecde
|
evaluator: Fix an error message
|
2021-04-06 20:36:47 -03:00 |
|
João M. Bezerra
|
aa03d2723e
|
Separate lib from binary
Makes integration testing easier
|
2021-04-06 20:22:56 -03:00 |
|
João M. Bezerra
|
78d5f435ee
|
Minor style changes
|
2021-04-06 20:14:33 -03:00 |
|
João M. Bezerra
|
575abeb454
|
Testing bytes formatting
|
2021-04-06 20:12:51 -03:00 |
|
Vinícius Miguel
|
784217143a
|
Better error message for MissingArgumentsForDecompression
|
2021-04-06 19:05:36 -03:00 |
|
Vinícius Miguel
|
8c88d5cb0f
|
evaluator: Accept the other compression formats as 'first compressors'
|
2021-04-06 19:01:44 -03:00 |
|
Vinícius Miguel
|
249e9959fc
|
Fix failing test
|
2021-04-06 12:51:53 -03:00 |
|
Vinícius Miguel
|
5b70940596
|
Fix cargo test
|
2021-04-06 04:44:08 -03:00 |
|
Vinícius Miguel
|
f9272b5ce5
|
evaluator: Verify if input files are decompressible
|
2021-04-06 04:30:36 -03:00 |
|
Vinícius Miguel
|
9b8dcb40fa
|
cli: Canonicalize input files when decompressing
|
2021-04-06 04:12:00 -03:00 |
|
Vinícius Miguel
|
095ade6621
|
Code cleanup
|
2021-04-06 03:37:49 -03:00 |
|
Vinícius R. Miguel
|
42b139f1a5
|
Add tests for byte pretty-printing
|
2021-04-06 03:08:44 -03:00 |
|
Vinícius R. Miguel
|
1b9faab96a
|
refactor: pretty-print bytes
|
2021-04-06 02:49:03 -03:00 |
|
Vinícius R. Miguel
|
368a776b70
|
Add Bytes and impl Display for Bytes
|
2021-04-06 02:34:27 -03:00 |
|
Vinícius Rodrigues Miguel
|
1c5005f5a9
|
Adapt the Python test script to the new Ouch interface
|
2021-04-05 20:57:18 -03:00 |
|
Vinícius Rodrigues Miguel
|
011626f09b
|
(WIP) Minor misc. changes
|
2021-04-05 02:57:46 -03:00 |
|
Vinícius Rodrigues Miguel
|
d2af261f67
|
Fix cargo test tests
|
2021-04-05 01:14:27 -03:00 |
|
João M. Bezerra
|
28901ec44e
|
Binary size decreased by 35% (-400KB)
Huge refactor, removed totally `clap` to use our argparsing instead.
500+ modified.
|
2021-04-04 23:26:57 -03:00 |
|
João M. Bezerra
|
b45f38f5fa
|
Add utils::to_utf
|
2021-04-04 23:18:25 -03:00 |
|
João M. Bezerra
|
0c9131c307
|
Start replacing clap with oof
|
2021-04-04 23:13:03 -03:00 |
|
João M. Bezerra
|
5b37a117f1
|
Clippy lints
|
2021-04-04 01:58:22 -03:00 |
|
Vinícius Rodrigues Miguel
|
b002de78d9
|
Show better error messages
|
2021-03-30 00:11:46 -03:00 |
|
Vinícius Rodrigues Miguel
|
2dc828c0ff
|
(WIP) Showing better error messages
|
2021-03-29 23:11:22 -03:00 |
|
Vinícius R. Miguel
|
a96d26eba6
|
Bump to version 0.1.4
|
2021-03-29 02:58:16 -03:00 |
|
Vinícius R. Miguel
|
cb10a45661
|
Use the -y and -n flags when decompressing single-file compression formats
|
2021-03-29 02:44:29 -03:00 |
|
Vinícius Rodrigues Miguel
|
1c0e883d99
|
dialogs: Remove duplicated to_ascii_lowercase
|
2021-03-29 02:00:47 -03:00 |
|
Vinícius Rodrigues Miguel
|
5ac3540145
|
Use the -y and -n flags when compressing to a file that already exists
|
2021-03-29 01:52:52 -03:00 |
|
Vinícius Rodrigues Miguel
|
0f0b086943
|
Use the the -y and -n flags when decompressing .tar and .zip
|
2021-03-29 01:37:01 -03:00 |
|
Vinícius R. Miguel
|
c7cf1112b6
|
Add -y, --yes and -n, --no flags (currently unused)
|
2021-03-28 23:50:28 -03:00 |
|
Vinícius Rodrigues Miguel
|
40fb926d80
|
evaluator: Add confirmation dialog for file overwriting
|
2021-03-28 14:52:09 -03:00 |
|
Vinícius Rodrigues Miguel
|
03d6fc1e60
|
decompressors/tar: Add confirmation dialog for file overwriting
|
2021-03-28 14:28:07 -03:00 |
|
Vinícius Rodrigues Miguel
|
7954eb07fd
|
decompressors/zip: Add confirmation dialog for file overwriting
|
2021-03-28 13:56:00 -03:00 |
|
Vinícius Rodrigues Miguel
|
91f411439a
|
rustfmt
|
2021-03-27 01:34:43 -03:00 |
|
Vinícius Rodrigues Miguel
|
234e0406a1
|
Don't allow ouch to compress the root folder
|
2021-03-27 00:37:47 -03:00 |
|