Package org.seedstack.seed.cli
Interface CliContext
-
public interface CliContextThis interface is implemented by runtime context classes holding command-line arguments. This allows SeedStack plugins to retrieve those arguments with:public void setup(SeedRuntime seedRuntime) { cliContext = seedRuntime.contextAs(CliContext.class); }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getArgs()
-
-
-
Method Detail
-
getArgs
String[] getArgs()
- Returns:
- the command-line arguments as passed to the program.
-
-