Example #1
0
 public bool Info()
 {
     if (ArgIndex >= CurrentArgs.Count - 1)
     {
         Console.WriteLine("For information about the 'info' command, please use 'map info --help'.");
     }
     else
     {
         InfoCommandLineHandler cli = new InfoCommandLineHandler();
         cli.Parse(CurrentArgs.GetRange(ArgIndex + 1, CurrentArgs.Count - ArgIndex - 1));
         return(false); // Return false to cancel the rest of the parsing
     }
     return(true);
 }
 public bool Info()
 {
     if (CurrentArgs.Count == 1)
     {
         Console.WriteLine("For information about the 'info' command, please use 'data tileset info --help'.");
     }
     else
     {
         InfoCommandLineHandler cli = new InfoCommandLineHandler();
         cli.Parse(CurrentArgs.GetRange(ArgIndex + 1, CurrentArgs.Count - ArgIndex - 1));
         return(false);
     }
     return(true);
 }