First Command Completer (xonsh.completers.commands)

xonsh.completers.commands.complete_command(cmd, line, start, end, ctx)[source]

Returns a list of valid commands starting with the first argument

xonsh.completers.commands.complete_skipper(cmd, line, start, end, ctx)[source]

Skip over several tokens (e.g., sudo) and complete based on the rest of the line.