dev@glassfish.java.net

Re: request for documentation on how to implement a hidden CLI

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Wed, 13 Oct 2010 19:34:07 +0100

A hidden command just needs to have the name start with '_', like
_register-instance, _create-instance-filesystem.
@Service(name = "_create-instance-filesystem")
Then it should not show up in list-commands.

The rest is the same as a regular command.

On 10/13/2010 6:36 PM, Joseph Fialli wrote:
> I need to implement a hidden CLI for the following gf issue.
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=13546
>
> Could someone send me a pointer to a source code example of a hidden
> cli or documentation on how
> to implement it.
>
> Thanks,
> -Joe
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>