CLI Program Utilities? lazarus / 21-General ---------------------------------------------------------------------- MMarie · 2023-05-23 11:53 Is there any sort of library which provides utilities for CLI programs such as abstracting parameter parsing, suggestions for invalid parameters and more (Ideally plain fpc and not oop)? I couldn't find anything and I wanted to ask this before I start writing my own ---------------------------------------------------------------------- marcov · 2023-05-23 12:24 There is the getopts unit, see e.g. the chmls program as an example ---------------------------------------------------------------------- Чебурашка · 2023-05-23 12:26 From Lazarus, try creating a brand new console application. It includes a class with some things useful to process params. Is oop but being a singleton, is not so much oop.