Package cli

Class RunCommand


  • public class RunCommand
    extends java.lang.Object
    The RunCommand class for the CLI application. This class will use the main() from the commands package. This will be used when calling the interpreter or running the program to read a .txt file.
    • Constructor Summary

      Constructors 
      Constructor Description
      RunCommand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      main() is the implementation of the Main class for the CLI application.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RunCommand

        public RunCommand()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        main() is the implementation of the Main class for the CLI application. It is here that we define how the CLI application will run and responds to the user.
        Parameters:
        args - the arguments of the command