class PYXIS_TREE_TO_XML_COMPILER_APP

(source code)

description

Command line interface to EL_PYXIS_TREE_TO_XML_COMPILER which compiles a tree of Pyxis source files into single XML file.

note
	description: "[
		Command line interface to ${EL_PYXIS_TREE_TO_XML_COMPILER} which compiles a tree of
		Pyxis source files into single XML file.
	]"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-07-29 8:34:43 GMT (Monday 29th July 2024)"
	revision: "21"

class
	PYXIS_TREE_TO_XML_COMPILER_APP

inherit
	EL_COMMAND_LINE_APPLICATION [EL_PYXIS_TREE_TO_XML_COMPILER]
		redefine
			Option_name, visible_types
		end

create
	make

feature {NONE} -- Implementation

	argument_specs: ARRAY [EL_COMMAND_ARGUMENT]
		do
			Result := <<
				optional_argument ("manifest", "Path to manifest of directories and files", << file_must_exist >>),
				optional_argument ("source", "Source tree directory", << directory_must_exist >>),
				required_argument ("output", "Output file path", No_checks)
			>>
		end

	default_make: PROCEDURE [like command]
		do
			Result := agent {like command}.make ("", "", "")
		end

	visible_types: TUPLE [EL_PYXIS_TREE_TO_XML_COMPILER]
		do
			create Result
		end

feature {NONE} -- Constants

	Option_name: STRING = "pyxis_compile"

end