[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] a.b.c task name
From: |
KoDer |
Subject: |
[Fab-user] a.b.c task name |
Date: |
Wed, 23 Nov 2011 02:24:32 +0200 |
Hi, all.
I wrote metaclass, which allows to expose class methods as fabric tasks.
This would be natural to expose 'b' method of 'A' class as 'A.b' task
name, but this don't works.
When fabric see 'a.b.c' as task name it actually check a['b']['c'] ,
where 'a' is a some fabric command
# from main.py ~647 line
# Figure out if any specified task names are invalid
unknown_commands = []
for tup in commands_to_run:
if crawl(tup[0], state.commands) is None:
unknown_commands.append(tup[0])
This feature is undocumented (at least i don't found it in documentation).
Is this feature used from some purpose or just left from ancient versions?
Thanks
--
K.Danilov aka koder
ICQ:214286120
Skype:koder.ua
Tel:+38-050-4030512
- [Fab-user] a.b.c task name,
KoDer <=