Compare commits
2 Commits
454237053d
...
cbfe1256df
Author | SHA1 | Date |
---|---|---|
hedy | cbfe1256df | |
hedy | 2e873745ab |
14
README.md
14
README.md
|
@ -338,25 +338,25 @@ For help on the TUI client, type ? at interactive prompt, or see gelim(1)
|
||||||
|
|
||||||
Search
|
Search
|
||||||
```
|
```
|
||||||
$ gelim -s "astrobotany"
|
~> gelim -s "astrobotany"
|
||||||
```
|
```
|
||||||
|
|
||||||
Test your awesome, boring, classic, totally OG CGI scripts (exits immediately)
|
Test your awesome, boring, classic, totally OG CGI scripts (exits immediately)
|
||||||
```
|
```
|
||||||
$ gelim example.org/cgi-bin/greet.sh -Ii 'world'
|
~> gelim example.org/cgi-bin/greet.sh -Ii 'world'
|
||||||
Hello, world!
|
Hello, world!
|
||||||
|
|
||||||
$
|
~>
|
||||||
```
|
```
|
||||||
|
|
||||||
Use it in scripts to show outputs in stdout
|
Use it in scripts to show outputs in stdout
|
||||||
```sh
|
```sh
|
||||||
$ cat <<EOF > python-help.sh
|
~> cat <<EOF > python-help.sh
|
||||||
read -p "help> "
|
read -p "help> "
|
||||||
gelim do.hedy.dev/help/py -Ii "${REPLY:-help}"
|
gelim do.hedy.dev/help/py -Ii "${REPLY:-help}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$ bash python-help.sh
|
~> bash python-help.sh
|
||||||
help> input
|
help> input
|
||||||
'Help on built-in function input in module builtins:
|
'Help on built-in function input in module builtins:
|
||||||
|
|
||||||
|
@ -370,11 +370,11 @@ input(prompt=None, /)
|
||||||
On *nix systems, readline is used if available.'
|
On *nix systems, readline is used if available.'
|
||||||
```
|
```
|
||||||
|
|
||||||
(Leading quote added on output to aid syntax highlighting.)
|
(Single quotes added on output to aid syntax highlighting.)
|
||||||
|
|
||||||
Submit your twtxt to antenna
|
Submit your twtxt to antenna
|
||||||
```
|
```
|
||||||
$ gelim -I 'gemini://warmedal.se/~antenna/submit' -i 'gemini://do.hedy.dev/tw.txt'
|
~> gelim -I 'gemini://warmedal.se/~antenna/submit' -i 'gemini://do.hedy.dev/tw.txt'
|
||||||
Thank you for your submission! Antenna has now been updated.
|
Thank you for your submission! Antenna has now been updated.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue