Cameron Hummels avatar Cameron Hummels committed 3f91a51

Updating debug page for command line pastebin and pastebin_grab wrapper functions.

Comments (0)

Files changed (1)


 A pastebin is a website where you can easily copy source code and error
 messages to share with yt developers or your collaborators. At a pastebin is available for placing scripts.  With
-``yt`` the script ```` is distributed, which allows for
-commandline uploading and downloading of pasted snippets.  To upload script you
+``yt`` the script ```` is distributed and wrapped with 
+the ``pastebin`` and ``pastebin_grab`` commands, which allow for commandline 
+uploading and downloading of pasted snippets.  To upload a script you
 would supply it to the command:
 .. code-block:: bash
-   $
+   $ yt pastebin
 The URL will be returned.  If you'd like it to be marked 'private' and not show
 up in the list of pasted snippets, supply the argument ``--private``.  All
 snippets are given either numbers or hashes.  To download a pasted snippet, you
-would use the ``--download`` option:
+would use the ``pastebin_grab`` option:
 .. code-block:: bash
-   $ --download=216
+   $ yt pastebin_grab 1768
 The snippet will be output to the window, so output redirection can be used to
 store it in a file.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.