diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-07-05 16:46:21 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-07-05 16:46:21 +0200 |
commit | d154c154f311a16f96c5f95aafdb9f59d79fa6b7 (patch) | |
tree | 4b09eb036466c28821d0be56260cee4b73ecdd59 | |
parent | 0ea6f7e0fb22b93ac977a267fcd21ec9f4bfca05 (diff) | |
download | Dist::Maker-d154c154f311a16f96c5f95aafdb9f59d79fa6b7.tar.gz Dist::Maker-d154c154f311a16f96c5f95aafdb9f59d79fa6b7.tar.bz2 |
Update $name to $module for consistency
-rw-r--r-- | lib/App/Rakumod/Bin.rakumod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/App/Rakumod/Bin.rakumod b/lib/App/Rakumod/Bin.rakumod index 98133e9..a162c17 100644 --- a/lib/App/Rakumod/Bin.rakumod +++ b/lib/App/Rakumod/Bin.rakumod @@ -246,7 +246,7 @@ multi sub MAIN ( 'new', #| The name of the module. - Str $name is copy = Str, + Str $module is copy = Str, #| The path where the module directory will be created at. Str $path is copy = Str, @@ -260,10 +260,10 @@ multi sub MAIN ( rakumod-cli-init; - if (!$name) { $name = rakumod-prompt('Name'); } + if (!$module) { $module = rakumod-prompt('Name'); } if (!$path) { $path = rakumod-prompt('Path', $App::Rakumod::config.get('new.path')); } - my $destination = $path.IO.add($name); + my $destination = $path.IO.add($module); if ($destination.e) { X::App::Rakumod::Clobber.new( @@ -275,7 +275,7 @@ multi sub MAIN ( my $license = rakumod-prompt('License', 'AGPL-3.0-or-later'); my ($, %meta) = rakumod-new( - $name, + $module, $description, $license, [$App::Rakumod::config.get('new.author') // ''], @@ -284,7 +284,7 @@ multi sub MAIN ( ); if (!$App::Rakumod::config.get('main.quiet')) { - say "Created skeleton for $name at $destination"; + say "Created skeleton for $module at $destination"; } # Add readme |