dev@glassfish.java.net

implementing a cli command

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Fri, 30 Jul 2010 10:36:59 -0400

Howdy,

Am starting on an 'asadmin get-health' command, which just needs to
talk to the das to query gms to get some server state. I'm confused
about where to start: what's the difference between
org.glassfish.api.admin.AdminCommand vs
com.sun.enterprise.admin.cli.CLICommand?

The code differences are fairly obvious, but not the reasoning. I
don't see offhand why I should implement AdminCommand vs extending
CLICommand. Am starting with the latter, but if someone knows I'm on
the wrong path, let me know.

Thanks,
Bobby