Class GCLI

    • Constructor Detail

      • GCLI

        public GCLI​(java.lang.String scriptSrc,
                    java.lang.String scriptArgs)
        Create.
        Parameters:
        scriptSrc - The additional script to be executed.
        scriptArgs - The arguments for the additional script.
    • Method Detail

      • execute

        public java.lang.String execute()
        Description copied from class: CLI
        Execute command line in required way.
        Specified by:
        execute in class CLI
        Returns:
        The execution result.
      • close

        public void close()
        Description copied from class: CLI
        Close.
        Specified by:
        close in class CLI
      • setupShell

        public java.lang.String setupShell()
        Load standard init files and setup standard environment.
        Returns:
        The output of the setup.
      • parseArgs

        public static CommandLine parseArgs​(java.lang.String[] args,
                                            java.lang.String helpMsg)
        Parse the cli arguments.
        Parameters:
        args - The cli arguments.
        helpMsg - The general help message.
        Returns:
        The parsed CommandLine.