[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] fab "let" command
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] fab "let" command |
Date: |
Thu, 15 Oct 2009 15:09:43 -0400 |
Hey Allan,
> Isn't there a way to create "hidden" tasks?
>
> I've kept hidden tasks by prefixing with _.
Yes, fab honors that Python convention and won't allow you to call
such "private" functions as tasks from the command line. My
understanding of Christian/Ben's needs, however, is that they want to
be able to tickle the env dict at runtime from the command line, so
making a hidden task wouldn't help much with this :)
Plus, my main issue is simply that fab should reflect your user
fabfile only and keep anything relating to fab itself in
arguments/flags, instead of inserting extra task functions that your
own fabfile hasn't defined. Thus, creating this feature as an option
that takes its own argument string would be cleaner than having all
fabfiles appear to define a "let" task that actually comes from Fabric
itself.
-Jeff