Closed clintecker closed 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.
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
Yeah, init.rb sounds like the easiest way to make this work.
Applied at sstephenson@a830a2ab31b9942b3475 and documented at sstephenson@002b5925556b54533dd9
Allows a server administrator to adjust the address and ports from the command line tool