Package org.appng.cli.commands.subject
Class ListSubjects
- java.lang.Object
-
- org.appng.cli.commands.CommandList
-
- org.appng.cli.commands.subject.ListSubjects
-
- All Implemented Interfaces:
ExecutableCliCommand
public class ListSubjects extends CommandList implements ExecutableCliCommand
Lists all subjects.
Usage: appng list-subjects [options] Options: -t Prints tab-separated values instead of a table. Default: false -v Verbose output. Default: false
- Author:
- Matthias Herlitzius
-
-
Field Summary
-
Fields inherited from class org.appng.cli.commands.CommandList
beVerbose, prettyTable, tabbedValues
-
-
Constructor Summary
Constructors Constructor Description ListSubjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(CliEnvironment cle)
Executes the command.-
Methods inherited from class org.appng.cli.commands.CommandList
getPrettyTable, renderTable
-
-
-
-
Method Detail
-
execute
public void execute(CliEnvironment cle) throws BusinessException
Description copied from interface:ExecutableCliCommand
Executes the command.- Specified by:
execute
in interfaceExecutableCliCommand
- Parameters:
cle
- theCliEnvironment
to use- Throws:
BusinessException
- if on error occurs while executing the command
-
-