-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,11 +5,15 @@ Anzu is very light CLI tool for checking whether files have license header | |
![Anzu example output](./docs/example-output.png) | ||
|
||
## Installation | ||
Remember you have to have deno path set when installing. Do it using this bash command: | ||
`echo 'export PATH="$HOME/.deno/bin:$PATH"' >> ~/.bashrc` | ||
You may want to replace `~/.bashrc` with your shell rc config, eg. `~/.zshrc` for zsh | ||
|
||
- Without explicit permissions: | ||
- `deno install https://deno.land/[email protected]/src/cli.ts -n anzu` | ||
- `deno install -n anzu https://deno.land/x/[email protected]/src/cli.ts` | ||
- With explicit permissions: | ||
- `deno install --allow-read --allow-write --allow-net https://deno.land/[email protected]/src/cli.ts -n anzu` | ||
|
||
- `deno install -n anzu --allow-read --allow-write --allow-net https://deno.land/x/[email protected]/src/cli.ts` | ||
- You can also do `deno run https://deno.land/x/[email protected]/src/cli.ts` without actually installing it | ||
|
||
## 📚 Why not [deno_license_checker](https://github.com/kt3k/deno_license_checker) | ||
I got discouraged from deno_license_checker because of several things, majorly: | ||
|