orhun / rustypaste-cli

A CLI tool for rustypaste
https://github.com/orhun/rustypaste
MIT License
56 stars 8 forks source link

feat(cli): add argument to specify filename #88

Closed tessus closed 7 months ago

tessus commented 7 months ago

Add argument:

    -n, --filename NAME sets and overrides the filename

Example:

rpaste -n filename-on-server.txt awesome.txt

closes #82

tessus commented 7 months ago

I could also add to the README that rustypaste 0.15.0 is required for this argument to work. If the server is <0.15.0, the filename will not be overriden.