ir';
use Module::Runtime 'use_module';
use Path::Tiny;
use Template::Tiny;
use File::HomeDir;
use JSON::PP;
our $VERSION = '0.005';
sub getopt_spec {
return (
'skeletor %o',
['template|t=s
->my_home, '.skeletor.json'))) {
print "Found user options at: $saved_options_path\n";
my $json_opts = decode_json($saved_options_path->slurp);
@args = (@args, %$json_opts);
}
local @
URATION
You may store repeated or common configuration options in ~/skeletor.json, for example:
cat ~/.skeletor.json
{
"--author": "John Nap"
}
Then when you build a project the