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

Server CLI #26

Open
andrewvy opened this issue Feb 25, 2016 · 4 comments
Open

Server CLI #26

andrewvy opened this issue Feb 25, 2016 · 4 comments
Assignees

Comments

@andrewvy
Copy link
Owner

When executing the script, it should open up a shell interface. Allows simple management commands like kick, ban, give, etc.

@andrewvy andrewvy self-assigned this Feb 25, 2016
@elliotwms
Copy link

Might be worth taking a look at Symfony's Console component. Are the kick/ban methods already in place?

@andrewvy
Copy link
Owner Author

The kick and ban commands aren't implemented yet, I should probably create a new issue for all the ones I want to add.

The console part is a little tricky, ReactPHP is in an infinite loop and won't be able to display a console prompt immediately.

@elliotwms
Copy link

In which case would you need a separate socket connection to feed console commands into, or would it be able to exist as part of the main thread?

@andrewvy
Copy link
Owner Author

I've been looking at https://github.com/mcrumm/pecan/blob/develop/README.md and it looks like there's ways to integrate it within a pre-existing application. I might give this a shot first.

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

No branches or pull requests

2 participants