diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ca3d0d6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ +BSD Zero Clause License + +Copyright (c) 2024 Konrad Geletey + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/readme.md b/README.md similarity index 89% rename from readme.md rename to README.md index 8c3baa1..1e1ac4e 100644 --- a/readme.md +++ b/README.md @@ -1,4 +1,4 @@ -# Command line getting from browser +# Browser command line The idea is to transform api methods in command line interface @@ -119,7 +119,19 @@ By default, all request in clearnet and tor go via `https`, but i2p - `http`. But sometimes you need to specify a specific protocol ```sh -pwact bin "git+http://codeberg.org/" +wacli bin "git+http://codeberg.org/" ``` Binaries is install of user directory `$HOME/.local/bin`, for root user - `/usr/local/bin`. + +Perhaps not everyone will add tools to their sites, so for popular tools using directive: + +```sh +wacli registry:codeberg repos issues +``` + +You can also get help on all api methods using the command + +```sh +wacli help codeberg.org +``` diff --git a/example/.well-known/pwact.json b/example/.well-known/codeberg.org/wacli.json similarity index 100% rename from example/.well-known/pwact.json rename to example/.well-known/codeberg.org/wacli.json