org.sonatype.gshell.commands.network
Class WgetCommand
java.lang.Object
org.sonatype.gshell.command.support.CommandActionSupport
org.sonatype.gshell.commands.network.WgetCommand
- All Implemented Interfaces:
- Cloneable, CommandAction, NameAware
@Command(name="wget")
public class WgetCommand
- extends CommandActionSupport
Fetch a file from a URL.
- Since:
- 2.3
- Author:
- Jason Dillon
WgetCommand
public WgetCommand()
execute
public Object execute(CommandContext context)
throws Exception
- Description copied from interface:
CommandAction
- Execute the command action.
- Parameters:
context - The execution context of the command.
- Returns:
- The result of the command execution.
- Throws:
Exception - Command execution failed.
Copyright © 2008-2011 Sonatype. All Rights Reserved.