Spyros Roum
6b6ade8c9a
Break down tgz
, tbz
, etc to tar + gz/bz
2021-10-22 14:49:32 +03:00
Spyros Roum
caca7901c4
Run cargo fmt
2021-10-22 14:47:44 +03:00
Spyros Roum
02657ee5bc
Remove the variants from CompressionFormat
2021-10-22 14:46:54 +03:00
Spyros Roum
bdf5090844
zst is not an archive format..
2021-10-22 02:21:31 +03:00
Spyros Roum
0ed6841865
Fix tests so they don't use tar.zst
2021-10-22 02:14:04 +03:00
Spyros Roum
91a1054c3c
Remove duplicated if/else branches
2021-10-22 02:05:38 +03:00
Spyros Roum
0f3bc4f444
Use the new method were applicable
2021-10-22 02:04:55 +03:00
Spyros Roum
340827de1f
Introduce is_archive_format
method on CompressionFormat
2021-10-22 02:00:11 +03:00
João Marcos Bezerra
a46fa1fb38
Merge pull request #108 from SpyrosRoum/migrate-to-clap
...
Migrate from `oof` to `clap`!
2021-10-20 14:31:37 -03:00
João Marcos Bezerra
e17eb9595e
Merge branch 'master' into migrate-to-clap
2021-10-20 14:04:19 -03:00
João Marcos Bezerra
d533af27d4
README: add "no runtime dependencies" as a feature
...
Currently only supported by Linux on x86_64
2021-10-20 08:30:12 -03:00
TATSUNO Yasuhiro
4404b91a23
refactoring: Extract function ( #116 )
2021-10-20 01:10:10 -03:00
TATSUNO Yasuhiro
5f7d777342
Change display of current directory ( #119 )
2021-10-20 00:57:11 -03:00
João Marcos Bezerra
49a9740e42
Merge pull request #117 from exoego/wording
...
Use a same term as in command
2021-10-20 00:49:59 -03:00
TATSUNO Yasuhiro
b8a2c3899e
Use a same term as in command
2021-10-20 10:54:14 +09:00
figsoda
13aad5db87
Add repology badge to README ( #113 )
2021-10-19 15:13:07 -03:00
Spyros Roum
7b758c0ffb
Remove author's names from help message
2021-10-19 19:56:52 +03:00
Spyros Roum
7fb4398c04
Remove redundant code
2021-10-19 19:56:27 +03:00
TATSUNO Yasuhiro
2e6cd893dc
Omit "./" at the start of the path ( #109 )
2021-10-19 12:57:11 -03:00
Spyros Roum
bc33ccc99c
Update tests
2021-10-19 14:55:37 +03:00
Spyros Roum
e24c9ce931
Replace oof with clap
2021-10-19 14:42:07 +03:00
João Marcos Bezerra
1337be4f49
Merge pull request #106 from ouch-org/fix-monospace-in-readme
...
Escaping pipes in installation commands
2021-10-19 04:34:05 -03:00
João Marcos Bezerra
7a13a6410a
Escaping pipes in installation commands
...
This fixes monospaced formatting in README
2021-10-19 04:33:53 -03:00
João Marcos Bezerra
b342a16333
Merge pull request #104 from ouch-org/readme-md-error
...
Fix README small markdown error
2021-10-19 02:40:11 -03:00
João Marcos Bezerra
c7b7fa4097
Fix README small markdown error
2021-10-19 02:39:57 -03:00
João Marcos Bezerra
765fb40ec7
Readme revision ( #102 )
...
+ Added list of aliases to the README
2021-10-18 23:09:28 -03:00
João Marcos Bezerra
9d7c8a9abb
Merge pull request #100 from figsoda/cleanup
...
Minor cleanups and refactors
2021-10-18 02:01:02 -03:00
figsoda
2feefb3ca3
minor cleanups
2021-10-17 18:02:32 -04:00
João Marcos Bezerra
a424a2a017
Merge pull request #101 from dnaka91/tar-short-ext
...
Add support for short tar archive extensions
2021-10-17 18:28:54 -03:00
Dominik Nakamura
06af320595
Add support for short tar archive extensions
2021-10-18 00:42:35 +09:00
figsoda
1acf6e4d35
tests: apply clippy lints
2021-10-16 10:10:48 -04:00
João Marcos Bezerra
2c5a57c01c
Merge pull request #91 from SpyrosRoum/properly-compress-partially-compressed-files
...
Properly detect if we are compressing a partially compressed file
2021-10-15 11:38:02 -03:00
João Marcos Bezerra
55466a314e
Merge pull request #99 from SpyrosRoum/Add-proper-error-for-conflicted-flags
...
Add proper error handling for conflicting flags
2021-10-15 11:26:44 -03:00
João Marcos Bezerra
10af86831a
Merge pull request #97 from SpyrosRoum/Improve-FinalError
...
Change FinalError builder pattern to take and give ownership of self
2021-10-15 11:23:48 -03:00
João Marcos Bezerra
d33dd7f445
Merge branch 'master' into Improve-FinalError
2021-10-15 11:23:25 -03:00
Spyros Roum
16ee513906
Replace todo!
with an actual error
2021-10-15 17:21:35 +03:00
João Marcos Bezerra
1bcdfeb41c
Merge pull request #98 from ouch-org/create-contributing-md
...
Create CONTRIBUTING.md
2021-10-15 11:18:34 -03:00
Spyros Roum
c44cdf1013
Enable nightly for unstable fmt feature and run cargo fmt
2021-10-15 17:11:44 +03:00
João Marcos Bezerra
cf7b3c6e1f
Create CONTRIBUTING.md
2021-10-15 10:47:37 -03:00
João Marcos Bezerra
8224aabb2a
Merge pull request #95 from figsoda/refactor-colors
...
refactor: better NO_COLOR support
2021-10-15 10:04:12 -03:00
João M. Bezerra
15c54a615d
Renaming NO_COLOR_IS_SET to DISABLE_COLORED_TEXT
2021-10-15 09:35:07 -03:00
Spyros Roum
702e7622db
Run cargo fmt
removing redundant braces
2021-10-15 14:49:05 +03:00
Spyros Roum
d852a5897c
Change FinalError builder pattern to take and give ownership of self
...
This means that when you do `let e = FinalError::with_title("Foo").detail("Blah");`, `e` will be of type `FinalError` instead of `&mut FinalError`, thus you don't have to call `clone()` on it
2021-10-15 14:20:49 +03:00
João M. Bezerra
05f82d3aee
Adding unwrap safety for file_name
2021-10-15 05:45:56 -03:00
figsoda
161b8d0d66
refactor: better NO_COLOR support
2021-10-14 21:27:11 -04:00
Spyros Roum
baf23fa685
Use represents_several_files
instead of checking len of files
2021-10-15 02:45:07 +03:00
Spyros Roum
aa65743e4e
Add some info!
for the user
2021-10-15 02:44:34 +03:00
Spyros Roum
123ccddd91
Move the check to run
function
2021-10-15 02:44:15 +03:00
João Marcos Bezerra
16fbebe8fe
Updating Cargo.lock to newer dependencies ( #92 )
...
bitflags v1.2.1 -> v1.3.2
cc v1.0.69 -> v1.0.71
filetime v0.2.14 -> v0.2.15
pkg-config v0.3.19 -> v0.3.20
ppv-lite86 v0.2.10 -> v0.2.14
proc-macro2 v1.0.28 -> v1.0.30
quote v1.0.9 -> v1.0.10
redox_syscall v0.2.9 -> v0.2.10
syn v1.0.74 -> v1.0.80
thiserror v1.0.26 -> v1.0.30
thiserror-impl v1.0.26 -> v1.0.30
2021-10-14 20:12:42 -03:00
figsoda
69e5e3291c
Fix single file decompression with specified output directory ( #93 )
2021-10-14 20:00:40 -03:00