Add tests for `init` CLI and fix the command
Summary
We need tests for init CLI and fix the command
Problem
When the version was updated to 2.0, the init CLI not only applied optique but also underwent code refactoring. However, this process introduced a problem in the code, preventing it from running. Since there are too many cases, it's inefficient for a human to check each one individually, so a test code is needed for this. This test code would consume too many resources to run during the deployment process. Therefore, tests are added assuming only the scenario where the user runs them directly on their local machine.
Proposed Solution
- Add test for
initCLI - Fix
initCLI
Alternatives Considered
No response
Scope / Dependencies
packages/cli/src/init
@dahlia I'll take it after #444
@2chanhaeng This issue has been assigned for over two weeks without updates. Please provide a status update, or unassign yourself if you're unable to continue working on it.
I'm currently writing the test-init CLI. This CLI aims to:\
- Create projects based on combinations.
- Run a server with the generated codebase.
- Test communication between servers.
However, I've encountered some issues with the init CLI's operation during the first process, and I'm currently fixing them, which is delaying the work.