@@ 16,5 16,5 @@
"scripts": {
"test": "zef test ."
},
- "version": "2020.01.07"
+ "version": "2020.01.07.1"
}=
\ No newline at end of file
@@ 29,19 29,11 @@ subset LibSubcommand of Str where * ~~ / :i @lib-aliases /;
subset TestSubcommand of Str where * ~~ / :i @test-aliases /;
multi MAIN(InitSubcommand,
- :%config = load-config(),
- :$license = %config<license>,
- :@authors = %config<authors>,
- :$name = %*ENV<PWD>.IO.basename) {
- samewith @init-aliases.head, $*CWD, :%config, :$license, :@authors, :$name;
-}
-
-multi MAIN(InitSubcommand,
- $path,
- :%config = load-config(),
- :$license = %config<license>,
- :@authors = %config<authors>,
- :$name = %*ENV<PWD>.IO.basename) {
+ Str $path = $*CWD,
+ :%config = load-config(),
+ Str :$license = %config<license>,
+ Str :@authors = %config<authors>,
+ Str :$name = %*ENV<PWD>.IO.basename) {
if $path.IO.add('META6.json').e {
note 'META6.json already exists, aborting.' and exit
}