@Command(name="ls") public class ListDirectoryCommand extends CommandActionSupport
CommandAction.Result
log
Constructor and Description |
---|
ListDirectoryCommand(FileSystemAccess fileSystem) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(CommandContext context)
Execute the command action.
|
ListDirectoryCommand |
installCompleters(jline.console.completer.Completer c1) |
clone, createMessages, getCompleters, getMessages, getName, getSimpleName, setCompleters, setCompleters, setName
@Inject public ListDirectoryCommand(FileSystemAccess fileSystem)
@Inject public ListDirectoryCommand installCompleters(jline.console.completer.Completer c1)
public Object execute(CommandContext context) throws Exception
CommandAction
context
- The execution context of the command.Exception
- Command execution failed.Copyright © 2008-2012 Sonatype. All Rights Reserved.