update readme

This commit is contained in:
grym 2022-12-01 12:20:51 -05:00
parent 85db3a0b5a
commit d97a2ef4b3
1 changed files with 25 additions and 1 deletions

View File

@ -22,9 +22,33 @@ pipx install git+https://tildegit.org/grym/oxo@master # or @tag-of-your-choice
** Use
Each of the three endpoints supported by 0x0 has an associated subcommand.
#+begin_src bash :results output replace :tangle no
./venv/bin/oxo --help
oxo --help
#+end_src
#+RESULTS:
#+begin_example
Usage: oxo [OPTIONS] COMMAND [ARGS]...
A command line utility for 0x0.st compliant pastebins.
To use a different 0x0 site, set `OXO_BASE_URL` in your environment, or
specify it in the relevant subcommand.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --version Show the version and exit. │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy │
│ it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ files Upload one or more files. │
│ repost Repost one or more urls. │
│ shorten Shorten one or more urls. │
╰──────────────────────────────────────────────────────────────────────────────╯
#+end_example
#+begin_example
Usage: oxo [OPTIONS] COMMAND [ARGS]...