DeclSlidesCli

declslides.cli.DeclSlidesCli
object DeclSlidesCli

Entry point of the declslides command-line application.

This object keeps process-level concerns small: it wires the CLI program, delegates the actual work, and turns the final result into a process exit code.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def main(args: Array[String]): Unit
def run(args: Array[String], printError: String => Unit = ..., printInfo: String => Unit = ...): Int

Runs the CLI and returns the numeric exit code.

Runs the CLI and returns the numeric exit code.

This method is intentionally small and test-friendly: callers can override the output functions to capture messages without touching standard streams.

Value parameters

args

raw command-line arguments

printError

function used to report user-facing errors

printInfo

function used to report successful completion messages

Attributes

Returns

the process exit code as an Int