df_generate_dart_indexes 0.1.1 df_generate_dart_indexes: ^0.1.1 copied to clipboard
A tool to generate index/exports files for all Dart files in a directory.
DF Generate Dart Indexes #
Dart & Flutter Packages by DevCetra.com & contributors.
Summary #
A tool to generate index/exports files for all Dart files in a directory.
Usage Instructions #
- You do not need to add this package to your pubspec.yaml file.
- Activate the tool by running:
dart pub global activate df_generate_dart_indexes
. - Navigate to a folder in your project using the terminal (Tip: If you're using VS Code, you can right-click on a folder and select
"Open in Integrated Terminal"
). - Run
dartindexes .
to generate an_index.g.dart
file at the current location.
.
Note: #
Files that start with an underscore, files in folders that start with an underscore, and generated files (those with the .g.dart
extension) will be omitted from _index.g.dart
.
Generated File Example: #
//.title
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//
// GENERATED BY DF GEN - DO NOT MODIFY BY HAND
// See: https://github.com/robmllze/df_gen
//
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//.title~
// --- PUBLIC FILES ---
export 'generate_index_files_for_dart.dart';
export 'run_generate_index_files_for_dart_app.dart';
// --- PRIVATE FILES (EXCLUDED) ---
// export '_utils/_generator_converger.dart';
// export '_utils/_insight_mappers.dart';
// --- GENERATED FILES (EXCLUDED) ---
// export '_index.g.dart';
Contributing and Discussions #
This is an open-source project, and contributions are welcome from everyone, regardless of experience level. Contributing to projects is a great way to learn, share knowledge, and showcase your skills to the community. Join the discussions to ask questions, report bugs, suggest features, share ideas, or find out how you can contribute.
Join GitHub Discussions: #
💬 https://github.com/robmllze/df_generate_dart_indexes/discussions/
Join Reddit Discussions: #
💬 https://www.reddit.com/r/df_generate_dart_indexes/
Chief Maintainer: #
📧 Email Robert Mollentze at robmllze@gmail.com
License #
This project is released under the MIT License. See LICENSE for more information.