Closed whoizit closed 2 years ago
Thanks for reporting the problem.
I'm about to completely rewrite the create to make it more intelligent so will resolve this issue as part of that work. It's probably not going to get done until next year.
1.16 has a complete re-write of the creation logic however I just noticed it still has this problem :<
cd tool
dcli create init_db.dart
Creating init_db.dart from .dcli/template/script/simple.
Created script init_db.dart in myproject.
To run your script:
./init_db.dart
The Created script should have been:
Created script init_db.dart in myproject/tool
for my experience it looks like absolutely correct now
~ > dcli create bin/test.dart
Creating bin/test.dart from /home/user/.dcli/template/script/simple.
Created script bin/test.dart in /home/user/bin.
To run your script:
bin/test.dart
~ > cd bin
~/bin > dcli create test2.dart
Creating test2.dart from /home/user/.dcli/template/script/simple.
Created script test2.dart in /home/user/bin.
To run your script:
./test2.dart
only this string incorrect in first case Created script bin/test.dart in /home/user/bin.
Yes you are correct. I will try and get this fixed in the next few days.
As always thanks for your feedback. If you have some time I wouldn't mind catching up to discuss how you are using dcli. I'm trying to get a better understanding of the common use cases.
The messages are now correct in the 1.32 version .
dcli 1.15.4
should be