sstephenson / hector

A private group chat server for people you trust
MIT License
131 stars 15 forks source link

Allow hector server to be configured from the command line #25

Closed clintecker closed 13 years ago

clintecker commented 13 years ago

Allows a server administrator to adjust the address and ports from the command line tool

sstephenson commented 13 years ago

Good idea. I think I'd prefer to use something like optparse (positional arguments suck). Another idea would be to read this from a YAML file in the .hect directory.

clintecker commented 13 years ago

Yea, I was sort of just following the lead of the other CLI tools. I was also wondering last night if it would be something you could just configure on the server level (like the yaml file) or inside the init.rb (like how the server name is set).

On Thursday, April 14, 2011 at 9:17 AM, sstephenson wrote:

Good idea. I think I'd prefer to use something like optparse (positional arguments suck). Another idea would be to read this from a YAML file in the .hect directory.

Reply to this email directly or view it on GitHub: https://github.com/sstephenson/hector/pull/25#issuecomment-1001413

sstephenson commented 13 years ago

Yeah, init.rb sounds like the easiest way to make this work.

clintecker commented 13 years ago

Applied at sstephenson@a830a2ab31b9942b3475 and documented at sstephenson@002b5925556b54533dd9