Well you could probably still access ARGV directly. Personally I just
use ENV, however if we need to make it easier to get the CL args we
could.

V/r
Anthony

On 10/2/07, Thibaut Barrère <[EMAIL PROTECTED]> wrote:
> Hi,
>
> is there a clean way to retrieve custom command line arguments from inside
> the .ctl ? After looking at commands/etl.rb, I'd say it's not possible (or
> maybe there is a Getoptlong trick ?). I'm pretty sure setting up
> ENV['MYVAR'] = "mydata" should also do the trick.
>
> My use case is Rake tasks called with parameters in various environments.
>
> Any hint ?
>
> cheers
>
> Thibaut
>
> _______________________________________________
> Activewarehouse-discuss mailing list
> Activewarehouse-discuss@rubyforge.org
> http://rubyforge.org/mailman/listinfo/activewarehouse-discuss
>
>


-- 
Cell: 321 473-4966
Current Location: Melbourne, FL
_______________________________________________
Activewarehouse-discuss mailing list
Activewarehouse-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/activewarehouse-discuss

Reply via email to