Join GitHub today
Added list to core_args and added check for no-dedup. Program was ass… #288
…uming these would be a part of the flag structure which breaks creation of a Program.run where a namespace is passed in.
Consider the self contained python script ./foo
#!/usr/bin/env python import sys import invoke @invoke.task def build(): print 'built!' if __name__ == '__main__': namespace = invoke.Collection() namespace.add_task(build) program = invoke.Program( name='Foo', binary='foo', version='0.1', namespace=namespace ) program.run(sys.argv)
The other solution to this is to not assume
referenced this pull request
Jul 20, 2016
This was referenced
Sep 19, 2016
Revisiting this now that it's biting me in my dayjob use - I can see why I initially thought "don't expose
Given that I hate unintuitive things and it's not super likely that non-Invoke users will be bothered by its existence...and of course given that having it in the non-core args is causing problems...I think probably OK to shuffle it around for now, as per this PR.