Difference between revisions of "Template:Cliop"

From wiki.emacinc.com
Jump to: navigation, search
(Created Page.)
 
m (Tweak)
Line 17: Line 17:
 
Choose the PWD (Present Working Directory) like this:
 
Choose the PWD (Present Working Directory) like this:
  
<nowiki>{{clop}}
+
{{clop}}
 
{{cliop | ls -la | pwd=/home/user}}
 
{{cliop | ls -la | pwd=/home/user}}
 
.fileA
 
.fileA
Line 24: Line 24:
 
file2
 
file2
 
{{closp}}
 
{{closp}}
</nowiki>
+
 
  
  

Revision as of 17:09, 3 November 2015

The CLIO Template

This version of the CLI template is for use inside {{clo}} and {{clos}} tags.

This template displays the passed argument, cmd, at a simulated command line.

Use it like this:

{{clop}}
{{cliop | ls -la}}
file1
file2
{{closp}}

Choose the PWD (Present Working Directory) like this:

root@som9x25:/home/user# ls -la

.fileA .b file1 file2




root@som9x25:~# {{{1}}}