module

Plombir::CLI::Clean

Implements plombir clean.

Removes generated output (dist/) and the local build cache (.plombir/). Names are constants, never user input, so there is nothing to traverse out of; both directories are gitignored by the scaffold.

Constants

GENERATED = ["dist", ".plombir"]

Class methods

call(args : Array(String), directory : String = Dir.current, io : IO = STDOUT, error : IO = STDERR) : Int32

Runs the command against args in directory.

Returns the process exit code instead of calling exit directly so specs can assert on every branch.

Source
run(args : Array(String)) : Nil
Source
text
Source