aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/App/Rakumod/Bin.rakumod10
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