Path::Router::Shell
SYNOPSIS
#!/usr/bin/perl6
use v6;
use My::App::Router; use Path::Router::Shell;
my $router = My::App::Router.new; Path::Router::Shell.new(:$router).shell;
ATTRIBUTES
router
has $.router
This is the router that is being tested.
METHODS
method shell
method shell()
This starts the shell. It will only return when "q" or "Q" are the only characters on a line. It uses Linenoise to handle reading lines, history, etc.
AUTHOR
Andrew Sterling Hanenkamp <[email protected]>
Based very closely on the original Perl 5 version by Stevan Little <[email protected]>
COPYRIGHT
Copyright 2015 Andrew Sterling Hanenkamp.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.