Quick actions

cmd+k|ctrl+k

Navigation

Languages

Untitled

Snippet info

Language

Raku

Visibility

unlisted

Author

legacy-anonymous

Created

2018-02-17T00:00:33Z

Updated

2018-02-17T00:00:33Z

use v6;
use lib './';

use CLIInteractive;
use CommandSnark;

my CLI::Interactive $cli .= new;
$cli.register-command-instance(Alfred::Command::Snark.new);

sub MAIN(|argument-string) {
    if argument-string.Str eq '' {
    }
    else {
        $cli.dispatch('snark test');
    }
    say 'hello';
}
INFO