# Package org.apache.sis.console

package org.apache.sis.console
Command line interface for Apache SIS. See `Command` for the list of supported commands. See the Apache SIS web site for usage examples.

## Debugging

For debugging an application launched on the command-line by the `bin/sis` shell script, the following environment variable can be set:

    export JDK_JAVA_OPTIONS="-enableassertions -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=127.0.0.1:8000"

## SIS installation on remote machines

Some sub-commands can operate on SIS installation on remote machines, provided that Apache SIS has been compiled with MBeans enabled and that the remote Java Virtual Machine has been started with the following options:

    java -Dcom.sun.management.jmxremote.port=1099 \
         -Dcom.sun.management.jmxremote.authenticate=false \
         -Dcom.sun.management.jmxremote.ssl=false \
         -Dcom.sun.management.jmxremote.local.only=true \
         <other options>

If the port number is different than 1099, then it must be specified to the `sis` subcommand after the host name. For example if the port number has been set to 9999, then the `about` sub-command shall be invoked as below:

    java org.apache.sis.console.Command about localhost:1099

The `com.sun.management.jmxremote.local.only` property is recommended if the remote JVM is another JVM instance running on the local machine. Otherwise this property can be omitted for debugging purpose. For production environment, see the security settings documented on the Monitoring and Management Using JMX Technology page.

Since:
  0.3

- Class
  Description
  Command
  Command line interface for Apache SIS.
  InvalidCommandException
  Thrown when a unknown command has been given by the user on the command-line.
  InvalidOptionException
  Thrown when an illegal option has been given by the user on the command-line.
  ResourcesDownloader
  A provider for data licensed under different terms of use than the Apache license.
  SIS
  Entry point for `SIS` commands from JShell.
  SIS.About
  Builder for the "about" sub-command.
  SIS.Help
  Builder for the "help" sub-command.
  SIS.Identifier
  Builder for the "identifier" sub-command.
  SIS.Metadata
  Builder for the "metadata" and "crs" sub-commands.
  SIS.MimeType
  Builder for the "mime-type" sub-command.
  SIS.Transform
  Builder for the "transform" sub-command.
  SIS.Translate
  Builder for the "translate" sub-command.