Skip to content

Latest commit

 

History

History
149 lines (57 loc) · 1.36 KB

CLI.md

File metadata and controls

149 lines (57 loc) · 1.36 KB

CLI

  • Full name: \CLI

Methods

beep

public static beep(): void
  • This method is static.

opts

public static opts(?string $name = null, mixed $default = null): mixed
  • This method is static.

Parameters:

Parameter Type Description
$name ?string
$default mixed

write

public static write(string $out, ?string $fgcolor = null, ?string $bgcolor = null): void
  • This method is static.

Parameters:

Parameter Type Description
$out string
$fgcolor ?string
$bgcolor ?string

writeln

public static writeln(string $out, ?string $fgcolor = null, ?string $bgcolor = null): void
  • This method is static.

Parameters:

Parameter Type Description
$out string
$fgcolor ?string
$bgcolor ?string

progress

public static progress(mixed $percent = false, mixed $dec): void
  • This method is static.

Parameters:

Parameter Type Description
$percent mixed
$dec mixed