Interface CliContext


  • public interface CliContext
    This 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 Detail

      • getArgs

        String[] getArgs()
        Returns:
        the command-line arguments as passed to the program.