-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11-08-08 10:38 AM, Jamu Kakar wrote: > This sounds a lot like a library I wrote some time ago called > Commandant. It's a wrapper around bzrlib that let's you easily write > applications with a Bazaar-like user experience.
It's not surprising, since I've done so much hacking on bzr. But I've long thought that the command classes of bzrlib were somewhat redundant, since they only exist to house the "run" method. I think that functions are a better match for subcommands. Unlike bzrlib, script_commands doesn't require declaring options or their types. It's just less friction. > It might be > interesting if you want to go further and add topics, run shell > scripts, etc.: I've no doubt Commandant provides a more polished user experience. I didn't think that was important for utility scripts, but maybe it is. Perhaps we should consider using it for our scripts. Certainly, anything that helps us avoid writing the same old boilerplate for our utility scripts is a win. Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5AAG8ACgkQ0F+nu1YWqI1MgwCfc+d76F+rVVRHCzXtxzow1JrE U7YAnRk2+8ZJ7+LRP/PHXKimivwlWVSk =o3M2 -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp