tobast

Untitled

Dec 25th, 2011
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. NAME
  2. PastebinCL - Pastebin Commnd-Line, posts a "paste" on http://pastebin.com/
  3.  
  4. SYNOPSIS
  5. pastebincl [options]
  6.  
  7. DESCRIPTION
  8. PastebinCL is a program which sends a "paste" at http://pastebin.com/ using a command-line interface.
  9.  
  10. ARGUMENTS
  11.  
  12. The possible arguments are:
  13.  
  14. -v, --version
  15. Prints the program version and basic informatons, and then return.
  16.  
  17. -h, -?, --help
  18. Prints a short help, and then return.
  19.  
  20. --licence
  21. Prints the program licence, and then return.
  22.  
  23. --usergen
  24. Generates an "users" file for the software with the informations given after.
  25.  
  26. -n [name], --name=[name]
  27. Defines [name] as the paste name.
  28.  
  29. -s [syntax], --syntax=[syntax]
  30. Defines [syntax] as the syntax highlighting pattern of your text, eg. "c" or "lolcode" (see the full list on http://pastebin.com/).
  31. To display the complete list, run "pastebincl --syntaxlist".
  32.  
  33. --syntaxlist
  34. Displays the complete list of "syntax" parameters (see "-s").
  35.  
  36. -e [expire_time], --expire [expire_time]
  37. Defines [expire_time] as the time before the paste expires. Possible values :
  38. - N = Never
  39. - 10M = 10 Minutes
  40. - 1H = 1 Hour
  41. - 1D = 1 Day
  42. - 1M = 1 Month
  43.  
  44. -p, --private
  45. Posts a private past instead of a public one. A private paste willn't be displayed in the latest pastes, neither than be indexed by search engines.
  46.  
  47. -g, --guest
  48. Posts the paste as a guest. It's the default option if no configuration file was set.
  49.  
  50. USAGE
  51.  
  52. When you run pastebincl, it will wait for user entry until you pressed ctrl+D.
  53. Then, it will send the text on pastebin with the options given.
  54.  
  55. POST AS A REGISTERED USER
  56.  
  57. To post as a registered user, you must generate a file containing your username and password.
  58. To do so, use the software named "pastebincl --usergen".
  59.  
  60. EXAMPLES
  61. To post a paste without options:
  62. $ pastebincl
  63. (type your text, then ctrl+D)
  64.  
  65. To post without options a file named "foo.txt"
  66. $ cat foo.txt | pastebincl
  67.  
  68. To post a paste named "foo", in C language, privately, which expires in 10 minutes
  69. $ pastebincl -n foo -s c -e 10M -p
  70. (type your text, then ctrl+D)
  71.  
  72. AUTHOR
  73. Both pastebincl and this manpage were written by Théophile BASTIAN (aka. Tobast) <[email protected]>.
  74.  
  75. LICENCE
  76. Pastebincl is under GNU GPL licence, as published by the Free Software Fundation on version 3.
  77.  
  78. REPORTING BUGS
  79. Please report every bug you encounter to <[email protected]>.
Advertisement
Add Comment
Please, Sign In to add comment