Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: refactored cli module using corba #915

Open
wants to merge 1 commit into
base: Alpha
Choose a base branch
from

Conversation

Kuingsmile
Copy link

In this PR, I have made several modifications to the command-line code. These modifications may be helpful to improve the project's structure, maintainability and more easier to add new features.

@H1JK
Copy link
Collaborator

H1JK commented Jan 13, 2024

When it comes to improving project maintainability, just optimizing command line code may not be enough. Forked from clash, there are many things to do here such as eliminating global variables. This requires a lot of work and definitely make it no longer "clash" so that's how I think why there hasn't anyone done such work before. Also, we would like to do our best to support legacy clients without affecting development (such as Clash for Windows), therefore it is supposed to introducing no big modification to CLI.

New features have been added to HTTP controller in previous development, and we have no idea what to add to CLI command.

Thanks for the PR, but it'll hold off for a while because it is not the time.

@Kuingsmile
Copy link
Author

When it comes to improving project maintainability, just optimizing command line code may not be enough. Forked from clash, there are many things to do here such as eliminating global variables. This requires a lot of work and definitely make it no longer "clash" so that's how I think why there hasn't anyone done such work before. Also, we would like to do our best to support legacy clients without affecting development (such as Clash for Windows), therefore it is supposed to introducing no big modification to CLI.

New features have been added to HTTP controller in previous development, and we have no idea what to add to CLI command.

Thanks for the PR, but it'll hold off for a while because it is not the time.

Thanks for your comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants