- Edit
datavariable incard.pyscript. - See the results:
python card.py
- Pipe output to a file:
python card.py > file
- Put the file on your server
- Use
curlto display the file:
$ curl your_domain.net/file
╭--------------------------------------------╮
| |
| nickname |
| |
| CONTACT |
| Email: user@domain |
| Discord: user#0000 |
| |
| Github: github.com/user |
| |
╰--------------------------------------------╯
$ python card.py --help
Usage: card.py [OPTIONS]
Business card generator
-n, --name=TEXT set your nickname to TEXT
-w, --width=NUMBER set width of the card to NUMBER
-f, --frame=TEXT set chars of card's frame to TEXT
--help print this and exit
Use curl with flag -L if nothing is shown.