Futilities/v0.6/clade/Kiosk/@fx/RenderCommonHelp

From Woozle Writes Code
< Futilities‎ | v0.6‎ | clade‎ | Kiosk‎ | @fx
Revision as of 02:02, 16 November 2025 by Woozle (talk | contribs) (Created page with "{{fmt/title|<code>RenderCommonHelp()</code>}} ==About== * '''General''': {{l/ver/fx|RenderCommonHelp}} ==History== * '''{{fmt/date|2024|07|08}}''' Made this public so Options object can call it when the CLI input isn't right. ** This feels like it needs further refinement, but this is a Just Get It Working. ==Code== ''as of {{fmt/date|2025|11|15}}'' {{fmt/php/block|1= public function RenderCommonHelp() : string { #echo $this->ReflectObject()->Report();...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
RenderCommonHelp()

About

History

  • 2024-07-08 Made this public so Options object can call it when the CLI input isn't right.
    • This feels like it needs further refinement, but this is a Just Get It Working.

Code

as of 2025-11-15

public function RenderCommonHelp() : string {
        #echo $this->ReflectObject()->Report();
        $urlDocs = $this->DocsURL();
        return
            "USAGE: ".$this->RenderAppUsage()."\n"
            ."DOCS: $urlDocs\n"
            .$this->RenderHelpText()
            ."\n"
            ;
    }