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

Reply via email to