Would be useful to have an easy way to customise the assembling._guess logic so that it can be changed in one place for a program rather than having to duplicate argh decorators.
For example, would prefer boolean arguments to be treated as explicitly set truthy / falsey values rather than switches. At present have to do the following for each related boolean argument and feel like this could be centralised somehow:
@argh.decorators.arg('--with-some-flag', action='store', type=explicit_bool_type)
def foo(with_some_flag=True):
...
Would be useful to have an easy way to customise the
assembling._guesslogic so that it can be changed in one place for a program rather than having to duplicate argh decorators.For example, would prefer boolean arguments to be treated as explicitly set truthy / falsey values rather than switches. At present have to do the following for each related boolean argument and feel like this could be centralised somehow: