<program>
	<argument-model>
		<arguments>
			
			<argument>
				<name>Directories-Input</name>
				<help>
					<overview>When on, directories input pipe is available</overview>
				</help>
				<is-compulsary/>
				<set-argument>
					<initial>Off</initial>
					<set-values>
						<set-value>
							<name>On</name>
						</set-value>
						<set-value>
							<name>Off</name>
							<children>
								<child>Directory</child>
							</children>
						</set-value>
					</set-values>
				</set-argument>
			</argument>
			
			<argument>
				<name>Directory</name>
				<help>
					<overview>A directory to be created</overview>
				</help>
				<is-compulsary/>
				<text-argument>
					<initial></initial>
					<is-file-arg/>
				</text-argument>
			</argument>
			
		</arguments>
		
		
		<mappings>
		
			<mapping>
				<conditions>
					<condition>
						<target>Directories-Input</target>
						<set-condition>
							<allowed-values>
								<value>On</value>
							</allowed-values>
						</set-condition>
					</condition>
				</conditions>
				<input-pipes>
					<pipe>
						<name>Directories</name>
						<type>uk.ac.ic.doc.kevlar.core.types.textType.IFilenameType</type>
						<pipe-help>Filename Type - The list of directories to create</pipe-help>
					</pipe>
				</input-pipes>
				<output-pipes>
					<pipe>
						<name>Error</name>
						<type>uk.ac.ic.doc.kevlar.core.types.textType.IFilenameType</type>
						<pipe-help>Filename Type - The directories that failed to be made</pipe-help>
					</pipe>
					<pipe>
						<name>Made-Directories</name>
						<type>uk.ac.ic.doc.kevlar.core.types.textType.IFilenameType</type>
						<pipe-help>Filename Type - A list of directories that where made</pipe-help>
					</pipe>
				</output-pipes>
			</mapping>
		</mappings>
		
	</argument-model>
	
	<description-model>
		<name>Make-Directory</name>
		<version>
			<major>0</major>
			<minor>1</minor>
	    </version>
		<description>Make a single new directory, or a input-streams worth.</description>
		<author>Tristan Allwood</author>
		<copyright>
			<name>Kevlar Group</name>
			<year>2004</year>
		</copyright>
		<keywords>
			<keyword>mkdir</keyword>
			<keyword>make</keyword>
			<keyword>directory</keyword>
		</keywords>
		<program-help></program-help>
	</description-model>
	
	<return-model>
		<return-mappings>
			<return-mapping>
				<value>0</value>
				<message>Worked</message>
				<is-good/>
			</return-mapping>
			<return-mapping>
				<value>1</value>
				<message>Unexpected error</message>
			</return-mapping>
		</return-mappings>
	</return-model>
</program>