Re: ansel cli

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
Quoting Vijay Mahrra <[email protected]>:

> in order to develop this further, it would be good to have some 
> feedback at this early stage.  already i can see that perhaps there's 
> a need to move the
> functions from there to the main Ansel class or a subclass that 
> extends it, I'm thinking of something like ansel/lib/Ansel_CLI.php 
> which will have the various file functions that are used here.

I'd say the Ansel:: class for now; things like importing an image 
should be only
in one spot, instead of in image.php, xppublish.php, etc. The cli script can
take care of the filesystem-specific bits (reading in data, mostly).

> what other command-line options would you like to see?

The only thing I'd really like is the ability to import zipfiles - but
centralizing the image import code should take care of that.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez
-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.