Skip to content

Instantly share code, notes, and snippets.

@merlindorin
Created June 18, 2015 12:42
Show Gist options
  • Save merlindorin/3aa17fdb1256dc3da321 to your computer and use it in GitHub Desktop.
Save merlindorin/3aa17fdb1256dc3da321 to your computer and use it in GitHub Desktop.
Some console descriptors
<application name="example">
<title>This is a title</title>
<subtitle>This a subtitle</subtitle>
<description>This is a description. By default, you can output your commands to markdown.</description>
<version>1.2.3</version>
<menu>
<item target="self:ggg" default="true">lorem</item>
<item target="another:bibi" default="true">lorem</item>
</menu>
<command id="ggg" interactive="y">
<prompt scope="global" var="key">Please enter a key</prompt>
<prompt var="a">What do you want?</prompt>
<confirm var="c">Are you sure?</confirm>
<info>Info message</info>
<comment>My custome comment</comment>
<notice>My custom notice</notice>
<error>This is an error</error>
<message template=""></message>
<table payload="c" class="\Eoko\Zf....">
<header></header>
<body></body>
<footer></footer>
</table>
<finglet font="">hello</finglet>
<select>
<option value="12">text</option>
<option value="12">text</option>
<option value="12">text</option>
<option value="12">text</option>
</select>
<if>
</if>
<service name="" method="send" var="">
<prompt var="a">qsqsqsq</prompt>
<args>
<arg>a</arg>
<arg>b</arg>
<arg>c</arg>
<arg>d</arg>
</args>
</service>
<while >
</while>
<foreach></foreach>
</command>
</application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment