-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Background
honojs/hono has no dependencies. I believe that reducing dependencies as much as possible is an aesthetic sense not just for honojs/hono but for honojs as a whole :)
By the way, honojs/cli depends on commander.js. commander.js also has no dependencies, but there is no guarantee that there will be no dependencies in the future.
Also, the only commander.js Public API that Hono CLI uses is name, description, version, command, argument, option, action.
So, why not create our own CLI library for honojs/cli and other developers, inspired by commander.js and citty?
Pros / Cons
Pros
- Reduced dependency on third-party libraries.
- We only need to extend the minimum implementation required, while being able to quickly add the features you want.
- (Possibly) reducing build size.
Cons
- We have to maintain it ourselves.
- If we use
commander.js, we might find ourself in a situation where you don't need to bother to implement it...
Remarks
Of course, I will be the main implementor of this, and it will eventually replace the commander in the Hono CLI.
Metadata
Metadata
Assignees
Labels
No labels