Packages

A behaviour module to process XML files

Current section

Files

Jump to
gen_xml include gen_xml_cli.hrl
Raw

include/gen_xml_cli.hrl

-define(Arguments_gen_xml,
[ #{ name => verbose, long => "-verbose", short => $v,
type => boolean, action => count,
help => "be verbose, can use multiple times for warning to debug" },
#{ name => file, nargs => 1 }
] ).
-define(Commands_gen_xml,
#{ "null" => #{ help => "run the null callback module",
handler => fun gen_xml_cli:do_null/1 },
"counts" => #{ help => "run the counts callback module",
handler => fun gen_xml_cli:do_counts/1 },
"paths" => #{ help => "run the paths callback module",
handler => fun gen_xml_cli:do_paths/1 }
} ).