Difference between revisions of "Template:CLI"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
(Created page with "<noinclude> A generic command line prompt and command. ====Usage==== * <nowiki>{{CLI||command --with --parameters}}</nowiki> * <nowiki>{{CLI|/current/path|command --with --param...")
 
 
Line 5: Line 5:
 
* <nowiki>{{CLI||command --with --parameters}}</nowiki>
 
* <nowiki>{{CLI||command --with --parameters}}</nowiki>
 
* <nowiki>{{CLI|/current/path|command --with --parameters}}</nowiki>
 
* <nowiki>{{CLI|/current/path|command --with --parameters}}</nowiki>
 +
* <nowiki>{{CLI|~/path|2=a command that includes then equal (=) sign}}</nowiki>
  
 
====Example====
 
====Example====
Line 10: Line 11:
 
{{CLI||command --with --parameters}}
 
{{CLI||command --with --parameters}}
 
{{CLI|/current/path|command --with --parameters}}
 
{{CLI|/current/path|command --with --parameters}}
 +
{{CLI|~/path|2=a command that includes then equal (=) sign}}
 
</noinclude><includeonly> {{#if:{{{1|}}}|<span style="color:#080">[</span>|}}<span style="color:#888">{{{1}}}</span>{{#if:{{{1|}}}|<span style="color:#080">]</span>|}}<span style="color:#080">$ </span>{{{2}}}</includeonly>
 
</noinclude><includeonly> {{#if:{{{1|}}}|<span style="color:#080">[</span>|}}<span style="color:#888">{{{1}}}</span>{{#if:{{{1|}}}|<span style="color:#080">]</span>|}}<span style="color:#080">$ </span>{{{2}}}</includeonly>

Latest revision as of 04:55, 17 December 2011

A generic command line prompt and command.

Usage

  • {{CLI||command --with --parameters}}
  • {{CLI|/current/path|command --with --parameters}}
  • {{CLI|~/path|2=a command that includes then equal (=) sign}}

Example

$ command --with --parameters
[/current/path]$ command --with --parameters
[~/path]$ a command that includes then equal (=) sign