What will this tool do for me?
1- Generate analysis_options.yaml file for you which includes the best 100 analysis rules over there, with ignoring linting analysis for freezed, get_it and json_serializable generated files.
2- Add the latest version of flutter_lints package
3- Run pub get command
dart pub global activate analysis_options_cli_generator
The only command over there ..
to run any dart script you need to add /.pub-cache/bin to your path, you may need also $FLUTTER_HOME/bin/cache/dart-sdk/bin FLUTTER_HOME/.pub-cache/bin