Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Melanie
r noun+" "+verb, and the >> corresponding help text in one go) >> >> This seems like the most flexible approach to me, as it poses no >> limitations on what commands makes the most sense for each context. >> >> Best regards, >> Stefan Andersson >&

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Stefan Andersson
+0100> From: drscofi...@xyzzyxyzzy.net > To: opensim-dev@lists.berlios.de> Subject: Re: [Opensim-dev] Organization and > naming patterns of commands on the console > > Justin Clark-Casey wrote:> > Ai Austin wrote:> >> Any chance we can have > > the verb first,

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Dahlia Trimble
est regards, > Stefan Andersson > Tribal Media AB > > > Date: Thu, 5 Feb 2009 18:30:25 +0100 > > From: drscofi...@xyzzyxyzzy.net > > To: opensim-dev@lists.berlios.de > > Subject: Re: [Opensim-dev] Organization and naming patterns of commands > on the console > &

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Stefan Andersson
approach to me, as it poses no limitations on what commands makes the most sense for each context. Best regards,Stefan AnderssonTribal Media AB > Date: Thu, 5 Feb 2009 18:30:25 +0100> From: drscofi...@xyzzyxyzzy.net> To: > opensim-dev@lists.berlios.de> Subject: Re: [Opensim-dev] Or

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Dr Scofield
Justin Clark-Casey wrote: > Ai Austin wrote: >> Any chance we can have the verb first, as this is much more intuitive? E.g. >> create user >> create region i prefer addressing the entity that is supposed to do something first (to get it's attention, so to speak), then tell it what to

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Dr Scofield
Justin Clark-Casey wrote: > Gary Chernega wrote: >> A common parsing routine that used keywords as commands and triggered >> off of those would work best. >> >> show users:>> users module receives: show >> The parser would be looking for the module level first (users >> etc), and

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Dr Scofield
Justin Clark-Casey wrote: > Hello, > > I want to add more commands to the archiving module but I want to do this > within the module itself rather than adding > any specific logic to core. > > The terrain module already has a 'module commander' to help do this, but this > prefixes all commands

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Justin Clark-Casey
d to > opensim-dev@lists.berlios.de > > > > To > opensim-dev@lists.berlios.de > cc > > Subject > [Opensim-dev] Organization and naming patterns of commands on the > console > > > > > > > > &g

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Justin Clark-Casey
krtaylor wrote: > Justin, I like this idea - it also greatly simplifies the initial help, > which can simply refer the user to the sub command helps - e.g. user > help These new sub command helps can then be much more lengthy if need > be... Yes, in fact providing better command line help (at

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Justin Clark-Casey
Dalien Talbot wrote: > > > On Wed, Feb 4, 2009 at 9:50 PM, Justin Clark-Casey > mailto:jjusti...@googlemail.com>> wrote: > > Any thoughts on this? Just kind of thinking about it at this stage > - part of me prefers typing things like "show users" > or "help terrain" while another p

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Salahzar Stenvaag
+1 on having a clear *and* documented interface for console commands. I think that the "verb + target" paradigm is much more universal in Unix, SQL (create Table, not table create) and people can remember easily. Also commands should help people in understand why there are similar commands save

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Justin Clark-Casey
Ai Austin wrote: > Any chance we can have the verb first, as this is much more intuitive? E.g. > create user > create region > > Also, we really want to then avoid having some commands with hyphen > if some do not. That awkward to get right . I always do > "create-user" and then r

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread krtaylor
Justin, I like this idea - it also greatly simplifies the initial help, which can simply refer the user to the sub command helps - e.g. user help These new sub command helps can then be much more lengthy if need be... Justin Clark-Casey wrote: > Hello, > > I want to add more commands to the ar

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-05 Thread Ai Austin
Any chance we can have the verb first, as this is much more intuitive? E.g. create user create region Also, we really want to then avoid having some commands with hyphen if some do not. That awkward to get right . I always do "create-user" and then realise it does not work. E,g,

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-04 Thread Dalien Talbot
On Wed, Feb 4, 2009 at 9:50 PM, Justin Clark-Casey wrote: > Any thoughts on this? Just kind of thinking about it at this stage - part > of me prefers typing things like "show users" > or "help terrain" while another part of my mind likes the 'tidiness' of > prefixing every module command with th

Re: [Opensim-dev] Organization and naming patterns of commands on the console

2009-02-04 Thread Gary Chernega
it is, and remainder is passed to region command handler) Am I clear enough in plain text? Justin Clark-Casey Sent by: opensim-dev-boun...@lists.berlios.de 02/04/2009 03:50 PM Please respond to opensim-dev@lists.berlios.de To opensim-dev@lists.berlios.de cc Subject [Opensim-dev] Organiza

[Opensim-dev] Organization and naming patterns of commands on the console

2009-02-04 Thread Justin Clark-Casey
Hello, I want to add more commands to the archiving module but I want to do this within the module itself rather than adding any specific logic to core. The terrain module already has a 'module commander' to help do this, but this prefixes all commands with the word terrain (e.g. terrain fill