Currently, I am developing a small todo command line utility with a straightforward program structure. The main file is responsible for parsing the command line arguments and executing actions such as adding or deleting tasks based on the input provided. Each action is essentially a function that interacts with a JSON file to manipulate data accordingly. Originally written in JavaScript, I have now decided to convert the program to TypeScript. My question pertains to the best approach for implementing these actions: should they be organized as classes, described using type aliases, defined as functional types, or possibly encapsulated within a single class? Here is the link to the project itself: