Giving an application a command line interface is straightforward.
When the launcher connects to an application it looks to see if the service offers an IConsoleFacet. If so it binds to it and the application's commands are then available at the console command line.
As a simple example, the SkeletonServiceProvider plugin (Section ![[*]](crossref.png) )
offers two facets as part of the ``skeleton'' service, including
the IConsoleFacet. This contains a command line command to
get the application's message. The other facet is ISkeletonFacet,
which makes the message available to an application via a method call,
getMessage().
)
offers two facets as part of the ``skeleton'' service, including
the IConsoleFacet. This contains a command line command to
get the application's message. The other facet is ISkeletonFacet,
which makes the message available to an application via a method call,
getMessage().