Skip to content

Conversation

@c-lliope
Copy link

Motivation

I wanted to add other functionality, but I wasn't sure where to do it. There wasn't a centralized class for the application, and everything seemed to be thrown under bin/annyong.

Checking out some other gems, like Rake, it seems like the best practice is to keep the bin file short and simple, and have the functionality in an Application class.

Changes

I moved the options parsing and the server initialization into an Application class, to simplify the bin/annyong file.

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

Successfully merging this pull request may close these issues.

1 participant