Gabriel Simonetto
0fdef287c4
Warn for missing docs, and add necessary docs
2021-10-27 00:08:00 -03:00
João Marcos Bezerra
4cfc7b972b
Merge pull request #124 from AntonHermann/introduce_question_policy
...
Introduce new type for policy on how to handle overwrite questions
2021-10-21 19:09:19 -03:00
Anton Hermann
10f7462b8b
Introduce new type for policy on how to handle questions
2021-10-21 23:31:53 +02: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
Spyros Roum
9907ebcf36
Properly detect if we are compressing a partially compressed file
2021-10-15 00:33:17 +03:00
João Marcos Bezerra
c89c34a91f
Fix single format compression ( #89 )
...
Now working for formats that are not archives, like file.gz and file.xz
2021-10-14 18:17:52 -03:00
Santo Cariotti
1c24f41494
chore: print format type instead of index ( #84 )
...
When it raises an error caused by position of the format, now prints
the format type as string instead of the position inside the array of
formats.
In this way you can read on stdout the type like `.tar` or `.lz` instead
of `1`, `2`, .., `n`.
2021-10-14 17:18:46 -03:00
figsoda
f923423a06
Extension: add support for tgz ( #85 )
...
* extension: add support for tgz
2021-10-14 16:55:34 -03:00
figsoda
cd461fa5a5
apply clippy lints and small refactors ( #86 )
2021-10-14 16:22:48 -03:00