-
-
Save sdondley/ab982e5031aea58d09d718e6f924d526 to your computer and use it in GitHub Desktop.
multi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
multi process_args(@args where @args.elems == 0) { | |
die "No arguments passed to the $*PROGRAM. You must pass in at least a file name that can be parsed."; | |
} | |
multi process_args(@args where @args.elems == 1) { | |
my $vwf = Vimwiki::File.new(:path(@args[0])); | |
putv $vwf.so, | |
'Successfully ingested file into the Vimwiki::File Raku module', | |
'Could not ingest file.'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment