Make command dispatching process clearer

This commit is contained in:
Richard Chien
2017-01-11 14:06:51 +08:00
parent 86e20eb54b
commit 9c794334c1
4 changed files with 27 additions and 15 deletions

View File

@ -92,3 +92,11 @@ def get_command_name_separators():
def get_command_args_start_flags():
return tuple(sorted(('[ \t\n]',) + config['command_args_start_flags'], reverse=True))
def get_fallback_command():
return config.get('fallback_command')
def get_fallback_command_after_nl_processors():
return config.get('fallback_command_after_nl_processors')