mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 17:46:02 +02:00
airpaste: add simple examples and clarify existing ones (#2277)
This commit is contained in:
parent
78b777b3d8
commit
d5233570ee
1 changed files with 10 additions and 2 deletions
|
@ -2,13 +2,21 @@
|
||||||
|
|
||||||
> Share messages and files on the same network.
|
> Share messages and files on the same network.
|
||||||
|
|
||||||
|
- Wait for message and display when received:
|
||||||
|
|
||||||
|
`airpaste`
|
||||||
|
|
||||||
|
- Send text:
|
||||||
|
|
||||||
|
`echo {{text}} | airpaste`
|
||||||
|
|
||||||
- Send file:
|
- Send file:
|
||||||
|
|
||||||
`airpaste < {{file.txt}}`
|
`airpaste < {{path/to/file}}`
|
||||||
|
|
||||||
- Receive file:
|
- Receive file:
|
||||||
|
|
||||||
`airpaste > {{file.txt}}`
|
`airpaste > {{path/to/file}}`
|
||||||
|
|
||||||
- Create/Join channel:
|
- Create/Join channel:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue