Martin, this makes tons of sense! +1.
Note: we had an issue previously for this, SIS-11 [1], however that was basically a CLI to expose querying and the Qtree interface. This was a GSoC 2012 summer project proposal, but in the end, I think that Charith ended up taking it even though it wasn't accepted for GSoC 2012. Going down the path you suggest below, makes perfect sense, given our new architecture and trajectory. +1 from me. Cheers, Chris [1] https://issues.apache.org/jira/browse/SIS-11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Martin Desruisseaux <[email protected]> Organization: Geomatys Reply-To: "[email protected]" <[email protected]> Date: Thursday, June 6, 2013 12:21 PM To: Apache SIS <[email protected]> Subject: Proposal for a command line interface >Hello again > >In order to make easier for peoples to do some tests, it may be a good >time to implement the currently empty "org.apache.sis.cli.SISCLI" class >in the "sis-app" module. What about the following? > >Taking inspiration from subversion where commands are "svn [sub-command] >[options] [files]", we could use "sis [sub-command] [options] [files]" >where "sis" is a shortcut for "java -classpath [list of jars] >org.apache.sis.cli.SISCLI". The [sub-commands] would be: > > help > metadata > >The options would be: > > --format xml or text, default to "text" > --encoding default to locale encoding > --timezone default to locale timezone > --color on, off or auto, default to "auto" > > >For example > > sis metadata my_netcdf_file.nc > >would send to the standard output the ISO 19115 metadata of the given >NetCDF file in text format. > > Martin >
