def register_all
PaintSamples.register("raspberg") do
[
RaspbergPasswordReport.format_password(
passwords: ["Ab12cd34"],
options: { length: 8, lower: true, upper: true, numbers: true, extra: false, vowl: false, count: 1 }
),
RaspbergSerialReport.format_serial(name: "Bob", serial: "24530045"),
RaspbergSerialReport.format_filenamer(
names: %w[pic1.jpg pic2.jpg],
prefix: "pic",
start: 1,
ext: "jpg"
),
RaspbergUptimeReport.format_current(minutes: 125),
RaspbergBootlogReport.format_list(
entries: [{ "at" => "2024-06-01T08:30:00Z" }]
),
RaspbergAddressReport.format_contact(
"name" => "Alice",
"phone" => "555-0100",
"address" => "1 Main St"
),
RaspbergReport.format_help
].flat_map { |text| text.split("\n") }
end
end