From: Michael Tremer Date: Fri, 23 Feb 2024 20:22:58 +0000 (+0000) Subject: nopaste: Add documentation for the CLI interface X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af866cb1cc47f7ec86bb1c1e9b79a49e47be8019;p=ipfire.org.git nopaste: Add documentation for the CLI interface Signed-off-by: Michael Tremer --- diff --git a/src/templates/nopaste/create.html b/src/templates/nopaste/create.html index 48d59ba4..85a6e8e3 100644 --- a/src/templates/nopaste/create.html +++ b/src/templates/nopaste/create.html @@ -62,4 +62,30 @@ + +
+
+
+

{{ _("Console Interface") }}

+ +
+

+ {{ _("You can also upload files using the console like so:") }} +

+ +
+curl -u {{ current_user.uid }} -T- https://{{ request.host }} < file.txt
+					
+ +

+ {{ _("Or you can stream data into it like so:") }} +

+ +
+some command | curl -u {{ current_user.uid }} -T- https://{{ request.host }}
+					
+
+
+
+
{% end block %}