We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tab completion of projects and tags
start @project_<tab> should
start @project_<tab>
the same behavior should apply to tags. eg. hey start @project +wal<tab>
hey start @project +wal<tab>
Example tab-completion code via Linenoise. I'm currently unsure how to handle the printing of suggestions that then go away.
#!/usr/bin/env raku use Linenoise; my @commands = <help quit list get set>; sub find-last-word(Str $line) { return $line.subst(/.*? \s? $<lw>=(\S+) $/, {"$<lw>"} ); } linenoiseSetCompletionCallback(-> $line, $c { my ( $last-word ) = find-last-word($line); for @commands.grep(/^ "$last-word" /).sort -> $cmd { linenoiseAddCompletion($c, $cmd); } }); my $line = linenoise '> '; # while (my $line = linenoise '> ').defined { say "got a line: $line"; # }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
add tab completion of projects and tags
start @project_<tab>
shouldthe same behavior should apply to tags. eg.
hey start @project +wal<tab>
Example tab-completion code via Linenoise. I'm currently unsure how to handle the printing of suggestions that then go away.
The text was updated successfully, but these errors were encountered: