diff --git a/bin/flutter_launcher_icons.dart b/bin/flutter_launcher_icons.dart new file mode 100644 index 0000000000..bfee5cf663 --- /dev/null +++ b/bin/flutter_launcher_icons.dart @@ -0,0 +1,8 @@ +import 'package:flutter_launcher_icons/constants.dart'; +import 'package:flutter_launcher_icons/main.dart' as flutter_launcher_icons; +import 'package:flutter_launcher_icons/src/version.dart'; + +void main(List arguments) { + print(introMessage(packageVersion)); + flutter_launcher_icons.createIconsFromArguments(arguments); +} diff --git a/bin/main.dart b/bin/main.dart index bfee5cf663..452d9dd6f4 100644 --- a/bin/main.dart +++ b/bin/main.dart @@ -1,8 +1,6 @@ -import 'package:flutter_launcher_icons/constants.dart'; -import 'package:flutter_launcher_icons/main.dart' as flutter_launcher_icons; -import 'package:flutter_launcher_icons/src/version.dart'; +import 'flutter_launcher_icons.dart' as flutter_launcher_icons; void main(List arguments) { - print(introMessage(packageVersion)); - flutter_launcher_icons.createIconsFromArguments(arguments); + print('This command is deprecated and replaced with "flutter pub run flutter_launcher_icons"'); + flutter_launcher_icons.main(arguments); }