* highlight CLI usage in docs

This commit is contained in:
Reinhard Pointner 2012-02-22 08:19:49 +00:00
parent 3f5bdfc34d
commit f11522021d
2 changed files with 5 additions and 2 deletions

View File

@ -106,6 +106,9 @@
<code><span class="cmd">filebot</span> <span class="option">-rename</span> <span class="argument">"movie.avi"</span> <span class="option">--q</span> <span class="argument">"Avatar"</span> <span class="option">--db</span> <span class="argument">OpenSubtitles</span></code> <code><span class="cmd">filebot</span> <span class="option">-rename</span> <span class="argument">"movie.avi"</span> <span class="option">--q</span> <span class="argument">"Avatar"</span> <span class="option">--db</span> <span class="argument">OpenSubtitles</span></code>
Rename a single movie looking up movie info via file hash or using the given movie title. Rename a single movie looking up movie info via file hash or using the given movie title.
</p> </p>
<p class="suggestion">
Keep in mind that the CLI is <strong>strict by default</strong> so it will never mess up your files. In some cases you may need to enable <strong>-non-strict</strong> for more opportunistic matching like the GUI does.
</p>
<h3 id="subtitles">Fetch Subtitles</h3> <h3 id="subtitles">Fetch Subtitles</h3>
<p> <p>
<code><span class="cmd">filebot</span> <span class="option">-get-missing-subtitles</span> <span class="argument">path/to/episodes</span></code> <code><span class="cmd">filebot</span> <span class="option">-get-missing-subtitles</span> <span class="argument">path/to/episodes</span></code>

View File

@ -120,7 +120,7 @@
<li>Drag your movie or episode files onto the top-right <img alt="===" src="images/droparea.png" /> drop area</li> <li>Drag your movie or episode files onto the top-right <img alt="===" src="images/droparea.png" /> drop area</li>
<li>Hit &quot;Download&quot;!</li> <li>Hit &quot;Download&quot;!</li>
</ol> </ol>
<p><strong>Use FileBot from the command-line!</strong> There is a simple CLI for core tasks like renaming media files and fetching subtitles <p><strong>Use FileBot from the command-line!</strong> There is a simple <acronym title="command-line interface"><a href="cli.html">CLI</a></acronym> for core tasks like renaming media files and fetching subtitles
as well as checking or creating SFV files. On top of that you can use our <a href="script.html">scripting engine</a> to define more complex as well as checking or creating SFV files. On top of that you can use our <a href="script.html">scripting engine</a> to define more complex
automated processing. There's already <a href="http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5#p5">shared scripts</a> for automated processing. There's already <a href="http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5#p5">shared scripts</a> for
various tasks that you can just run right away or further customize to your needs.</p> various tasks that you can just run right away or further customize to your needs.</p>
@ -139,7 +139,7 @@
<ul class="list"> <ul class="list">
<li>A simple user-interface tuned for drag-n-drop <small class="comment">(no need to bother with file dialogs)</small></li> <li>A simple user-interface tuned for drag-n-drop <small class="comment">(no need to bother with file dialogs)</small></li>
<li>Platform-independent and straight-forward application deployment</li> <li>Platform-independent and straight-forward application deployment</li>
<li>Powerful and full-featured <acronym title="command-line interface"><a class="important" href="cli.html">cmdline interface</a></acronym> and <a class="important" href="script.html">scripting interface</a> for any kind of <a href="http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5">automation</a></li> <li>Powerful and full-featured <a class="important" href="cli.html">cmdline interface</a> and <a class="important" href="script.html">scripting interface</a> for any kind of <a href="http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5">automation</a></li>
</ul> </ul>
<ul class="list next" id="rename"> <ul class="list next" id="rename">
<li> <li>