Class KiteSubcommandHelp

java.lang.Object
cloud.kitelang.cli.KiteSubcommandHelp

public final class KiteSubcommandHelp extends Object
Applies bun-style heading colors and section labels to all subcommands.

Transforms picocli's default subcommand help from plain text to a styled layout with colored section headings, a version header, and renamed sections ("Flags:" instead of default unnamed options list).

Also reorders sections so the description appears right after the header (before synopsis), matching bun's layout:

kite new (0.4.0)
Create a new Kite project

Usage: kite new [name] [...flags]
  • Method Details

    • apply

      public static void apply(picocli.CommandLine root)
      Recursively applies styled headings to all subcommands of the given root.
      Parameters:
      root - the root CommandLine (subcommands are styled, root is not)