Summary
In this chapter, we refactored Bookmarkr to make it more modular. Each command is now described in its own code file.
By taking the time to refactor our CLI application, we have greatly enhanced its readability, maintainability, testability, and extensibility. It is now easier to add new capabilities, such as new commands (of course) as well as new features to existing commands.
Speaking about that, in the next chapter, we will see how to call external services and APIs to extend the capabilities of our application.