Documentation

Cli.Extensions

def Cli.Array.leftUnionBy {α : Type u_1} {β : Type u_2} [Ord α] (key : βα) (left : Array β) (right : Array β) :

Appends those elements of right to left whose key is not already contained in left.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def Cli.Array.rightUnionBy {α : Type u_1} {β : Type u_2} [Ord α] (key : βα) (left : Array β) (right : Array β) :

    Prepends those elements of left to right whose key is not already contained in right.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Cli.Array.diffBy {α : Type u_1} {β : Type u_2} [Ord α] (key : βα) (left : Array β) (right : Array α) :

      Deletes all elements from left whose key is in right.

      Equations
      Instances For

        Prepends an author name to the description of the command.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Appends a longer description to the end of the help.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Adds a help subcommand.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Adds a version subcommand.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Sets default values for flags that were not set by the user according to defaults := #[(long flag name, default value), ...] and denotes the default value in the flag description of the help. Panics if one of the designated long flag names cannot be found in the command.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def Cli.require! (requiredFlags : Array String) :

                  Errors if one of requiredFlags := #[long flag name, ...] were not passed by the user. Denotes that the flag is required in the flag description of the help. Panics if one of the designated long flag names cannot be found in the command.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For