Re: [Bacula-users] possible console interface improvement
2008-11-13 09:28:42
Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de> writes:
> My suggestions for improvement (and no, I don't understand the Bacula
> source code nearly well enough to try and implement them myself) would be:
>
> 1. Extend the "help" command to accept a command name argument and
> list the keywords accepted by that command.
>
> 2. Enhance the command parser to accept abbreviations for keywords.
>
> 3. Modify the command parser to reject unknown keywords instead of
> silently ignoring them.
>
> 4. Improve the manual by merging the "Alphabetical List of Console
> Keywords" and "Alphabetical List of Console Commands" section into a
> single list describing each command accepted by bconsole completely,
> with all keywords it will accept.
I agree with all of this, but I'm afraid it will be easier to abandon
the current bconsole and to write a new one which separates code from
CLI handling and utilises GNU readline properly to do dynamic TAB
completion etc.
e.g., implementing suggestion 3 would need code to be added in lots of
places, since many (most?) functions do their own argument parsing.
--
regards, | Redpill _
Kjetil T. Homme | Linpro (_)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|