Class MarkdownCli

java.lang.Object
org.ctan.markup.markdown.MarkdownCli

public class MarkdownCli extends Object
This class provides the command line interface for the markdown renderer.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    cli(String[] argv)
    This method provides the command line interface.
    static void
    main(String[] argv)
    This method provides the command line interface.
    int
    run(@NonNull String[] argv)
    This method contains the command line processor with handling of Exceptions.

    Methods inherited from class java.lang.Object

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

    • MarkdownCli

      public MarkdownCli()
  • Method Details

    • cli

      public static int cli(String[] argv)
      This method provides the command line interface.
      Parameters:
      argv - the command line arguments
    • main

      public static void main(String[] argv)
      This method provides the command line interface. It invokes System.exit() at the end.
      Parameters:
      argv - the command line arguments
    • run

      public int run(@NonNull @NonNull String[] argv)
      This method contains the command line processor with handling of Exceptions.
      Parameters:
      argv - the command line arguments
      Returns:
      the exit code