blob: 269470273c9c9dc9914868ebfc6f817bf69bc2dc [file] [log] [blame]
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
#set( $cmd = $command.toLowerCase())
package ${package};
import org.apache.felix.gogo.commands.Command;
import org.apache.karaf.shell.console.OsgiCommandSupport;
/**
* Displays the last log entries
*/
@Command(scope = "${scope}", name = "${cmd}", description = "${description}")
public class ${command} extends OsgiCommandSupport {
protected Object doExecute() throws Exception {
System.out.println("Executing command ${cmd}");
return null;
}
}