Skip to content

Commit d772902

Browse files
authored
Merge pull request #4 from open-ch/develop
Move CLI tool to bin/
2 parents 4cebcd1 + 946794d commit d772902

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ and remove all the unnecessary tests for the detection of the MIME types we are
3030
See the [Install](#install) section for more details on the requirements of our tools.
3131
### CLI
3232

33-
With our `CLI tool`, you can quickly create a minimal magic file called `mini_magic` containing
33+
With our [CLI tool](bin), you can quickly create a minimal magic file called `mini_magic` containing
3434
only the necessary tests to detect `application/pdf` and `application/x-executable` from the magic
3535
files located at `Magdir`:
3636

@@ -56,7 +56,7 @@ For more details on the CLI capabilities and options use the flag `--help`.
5656

5757
### Perl module
5858

59-
We also provide a `perl module` called `MiniMagic`. You can achieve the same
59+
We also provide a [perl module](lib) called `MiniMagic`. You can achieve the same
6060
result as the CLI tool with the following code snippet:
6161

6262
```perl

mini-magic renamed to bin/mini-magic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use v5.28;
1818
use warnings;
1919

2020
use FindBin qw($Bin);
21-
use lib "$Bin/lib";
21+
use lib "$Bin/../lib";
2222
use Getopt::Long qw(:config posix_default no_ignore_case);
2323
use MiniMagic;
2424
use Log::Any qw($log);

0 commit comments

Comments
 (0)