<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h1&gt;VuzitCL &amp;#8211; Vuzit Command Line&lt;/h1&gt;
&lt;p&gt;VuzitCL is a command line program for the &lt;a href=&quot;http://vuzit.com/developer/documents_api&quot;&gt;Web Services Library&lt;/a&gt; .  It was created for developers and non-developers to be able to automate the upload, viewing and deletion of documents from their &lt;a href=&quot;http://vuzit.com/&quot;&gt;Vuzit&lt;/a&gt; web account.&lt;/p&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;INSTALL&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Installation is as easy as copying a file to your computer.  Just &lt;a href=&quot;http://github.com/vuzit/vuzitruby/downloads&quot;&gt;download&lt;/a&gt; the VuzitCL application for your operating system.  Here are the instructions:&lt;/p&gt;
&lt;h3&gt;Windows&lt;/h3&gt;
&lt;ol&gt;
	&lt;li&gt;Download the &lt;strong&gt;VuzitCL-x.&amp;#215;.x_win32.zip&lt;/strong&gt; zip archive&lt;/li&gt;
	&lt;li&gt;Extract the vuzitcl.exe file to somewhere on your &lt;a href=&quot;http://www.computerhope.com/issues/ch000549.htm&quot;&gt;Windows System &lt;span class=&quot;caps&quot;&gt;PATH&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Linux&lt;/h3&gt;
&lt;ol&gt;
	&lt;li&gt;Download the &lt;strong&gt;VuzitCL-x.&amp;#215;.x_linux32.zip&lt;/strong&gt; zip archive.&lt;/li&gt;
	&lt;li&gt;Extract the vuzitcl executable and drop it into your system &lt;span class=&quot;caps&quot;&gt;PATH&lt;/span&gt; use as /usr/bin or /usr/local/bin (you can run &amp;#8216;echo $&lt;span class=&quot;caps&quot;&gt;PATH&lt;/span&gt;&amp;#8217; to figure that out)&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;OPTIONS&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;When you run VuzitCL without any options it will give you the list of options seen below.  Several examples of how to use these commands is listed in the later sections.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
VuzitCL - Vuzit Command Line
Usage: vuzitcl -k PUBLIC_KEY,PRIVATE_KEY [OPTIONS]

Options:
    -k, --keys=PUB_KEY,PRIV_KEY      Developer API keys - REQUIRED
    -u, --upload=PATH                File to upload
    -p, --public                     Make uploaded file public
    -l, --load=ID                    Loads the document data
    -d, --delete=ID                  Deletes a document
    -s, --service-url=URL            Sets the service URL (e.g. http://domain.com)
    -v, --verbose                    Prints more messages
    -h, --help                       Show this message
&lt;/code&gt;
&lt;/pre&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;UPLOAD&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;EXAMPLES&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Below is an example of how to upload a file to Vuzit.  Replace PUBLIC_KEY and PRIVATE_KEY with your personal Vuzit developer public and private keys respectively.  Notice the comma (&amp;#8220;,&amp;#8221;) between the two keys.  You can sign up to get your keys from &lt;a href=&quot;https://ssl.vuzit.com/signup&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
vuzitcl -k PUBLIC_KEY,PRIVATE_KEY -u &quot;c:/temp/test.pdf&quot;
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;The output of that command if successful is below.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
UPLOADED: abc123
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;The &amp;#8220;abc123&amp;#8221; is an example of the document ID.  The ID is the unique identifier for the document in the Vuzit document system.  You can use this ID to load or delete the document later.&lt;/p&gt;
&lt;p&gt;Below is the same example of how to upload a file to Vuzit but to make the file public (using the -p flag).&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
vuzitcl -k PUBLIC_KEY,PRIVATE_KEY -u &quot;c:/temp/test.pdf&quot; -p
&lt;/code&gt;
&lt;/pre&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;LOAD&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;EXAMPLE&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Below is an example of how to load the data from a document.  In this example we&amp;#8217;ll use that made up &amp;#8220;abc123&amp;#8221; document ID.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
vuzitcl -k PUBLIC_KEY,PRIVATE_KEY -l abc123
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;This is some sample output that you&amp;#8217;ll see:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
LOADED: abc123
title: Some sample title
subject: Sample subject
pages: 13
width: 595
height: 842
size: 29730
&lt;/code&gt;
&lt;/pre&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;DELETE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;EXAMPLE&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Below is an example of how to delete a document.  In this example we&amp;#8217;ll use the &amp;#8220;abc123&amp;#8221; document ID we created earlier.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
vuzitcl -k PUBLIC_KEY,PRIVATE_KEY -d abc123
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;This is some sample output that you&amp;#8217;ll see if successful:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
DELETED: abc123
&lt;/code&gt;
&lt;/pre&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;USING&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;WITH&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;YOUR&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;PROGRAMMING&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;LANGUAGE&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Vuzit already has support for programming languages like &lt;a href=&quot;http://wiki.github.com/vuzit/vuzitphp&quot;&gt;&lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://wiki.github.com/vuzit/vuzitruby&quot;&gt;Ruby&lt;/a&gt; so it&amp;#8217;s recommended that you use these.  However if your language is not currently supported then you can use VuzitCL to handle it.&lt;/p&gt;
&lt;p&gt;Below are a few libraries that allow programmers to run external applications.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;.&lt;span class=&quot;caps&quot;&gt;NET&lt;/span&gt;: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start(VS.71).aspx&quot;&gt;Process Start() method&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Java: &lt;a href=&quot;http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#exec(java.lang.String)&quot;&gt;java.lang.Runtime exec() method&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Python: &lt;a href=&quot;http://docs.python.org/library/subprocess.html&quot;&gt;subprocess&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Perl: &lt;a href=&quot;http://perl.about.com/od/programmingperl/qt/perlexecsystem.htm&quot;&gt;exec() or system() functions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;SPECIAL&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;THANKS&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Thanks to Erik Veenstra for his &lt;a href=&quot;http://www.erikveen.dds.nl/rubyscript2exe/&quot;&gt;RubyScript2Exe&lt;/a&gt; &lt;br /&gt;
which made it possible to write this application natively for Windows and Linux without the need for a Ruby interpreter.&lt;/p&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;LICENSE&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Copyright &amp;#169; 2009 Brent Matzelle, Vuzit &lt;span class=&quot;caps&quot;&gt;LLC&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Permission is hereby granted, free of charge, to any person obtaining a copy&lt;br /&gt;
of this software and associated documentation files (the &amp;#8220;Software&amp;#8221;), to deal&lt;br /&gt;
in the Software without restriction, including without limitation the rights&lt;br /&gt;
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell&lt;br /&gt;
copies of the Software, and to permit persons to whom the Software is&lt;br /&gt;
furnished to do so, subject to the following conditions:&lt;/p&gt;
&lt;p&gt;The above copyright notice and this permission notice shall be included in&lt;br /&gt;
all copies or substantial portions of the Software.&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;THE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;SOFTWARE&lt;/span&gt; IS &lt;span class=&quot;caps&quot;&gt;PROVIDED&lt;/span&gt; &amp;#8220;AS IS&amp;#8221;, &lt;span class=&quot;caps&quot;&gt;WITHOUT&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;WARRANTY&lt;/span&gt; OF &lt;span class=&quot;caps&quot;&gt;ANY&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;KIND&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;EXPRESS&lt;/span&gt; OR&lt;br /&gt;
&lt;span class=&quot;caps&quot;&gt;IMPLIED&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;INCLUDING&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;BUT&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;LIMITED&lt;/span&gt; TO &lt;span class=&quot;caps&quot;&gt;THE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;WARRANTIES&lt;/span&gt; OF &lt;span class=&quot;caps&quot;&gt;MERCHANTABILITY&lt;/span&gt;,&lt;br /&gt;
&lt;span class=&quot;caps&quot;&gt;FITNESS&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;FOR&lt;/span&gt; A &lt;span class=&quot;caps&quot;&gt;PARTICULAR&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;PURPOSE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;AND&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;NONINFRINGEMENT&lt;/span&gt;. IN NO &lt;span class=&quot;caps&quot;&gt;EVENT&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;SHALL&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;THE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;caps&quot;&gt;AUTHORS&lt;/span&gt; OR &lt;span class=&quot;caps&quot;&gt;COPYRIGHT&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;HOLDERS&lt;/span&gt; BE &lt;span class=&quot;caps&quot;&gt;LIABLE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;FOR&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;ANY&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;CLAIM&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;DAMAGES&lt;/span&gt; OR &lt;span class=&quot;caps&quot;&gt;OTHER&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;caps&quot;&gt;LIABILITY&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;WHETHER&lt;/span&gt; IN AN &lt;span class=&quot;caps&quot;&gt;ACTION&lt;/span&gt; OF &lt;span class=&quot;caps&quot;&gt;CONTRACT&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;TORT&lt;/span&gt; OR &lt;span class=&quot;caps&quot;&gt;OTHERWISE&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;ARISING&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;FROM&lt;/span&gt;,&lt;br /&gt;
&lt;span class=&quot;caps&quot;&gt;OUT&lt;/span&gt; OF OR IN &lt;span class=&quot;caps&quot;&gt;CONNECTION&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;WITH&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;THE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;SOFTWARE&lt;/span&gt; OR &lt;span class=&quot;caps&quot;&gt;THE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;USE&lt;/span&gt; OR &lt;span class=&quot;caps&quot;&gt;OTHER&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;DEALINGS&lt;/span&gt; IN&lt;br /&gt;
&lt;span class=&quot;caps&quot;&gt;THE&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;SOFTWARE&lt;/span&gt;.&lt;/p&gt;</body>
  <created-at type="datetime">2009-11-24T03:30:51-08:00</created-at>
  <id type="integer">386692</id>
  <permalink>vuzitcl_1_1_0</permalink>
  <repository-id type="integer">164824</repository-id>
  <title>VuzitCL_1_1_0</title>
  <updated-at type="datetime">2009-11-05T13:50:39-08:00</updated-at>
  <user-id type="integer">62149</user-id>
</wiki>
