my_readme_updater 1.0.8 copy "my_readme_updater: ^1.0.8" to clipboard
my_readme_updater: ^1.0.8 copied to clipboard

A sample flutter package that updates project structure in readme file whenever we run a git command.

My Readme Updater #

pub package

A Dart package that automatically updates the project structure in your README.md file by running a simple git commit. It also supports setting up a pre-commit hook to keep the README.md always updated with the latest project structure.

Features #

  • Automatically updates the project structure in your README.md.
  • Adds the project structure between specified markers (<!-- BEGIN PROJECT STRUCTURE --> and <!-- END PROJECT STRUCTURE -->).
  • Can be integrated with Git pre-commit hooks to ensure the README.md is always updated before every commit.

Installation #

Add this to your pubspec.yaml file:

dependencies:
  my_readme_updater: ^1.0.8

To automatically update the README.md file before every commit, you can set up a Git pre-commit hook using the following command:

dart run my_readme_updater --setup

You can manually update the README.md by running the following command:

dart run my_readme_updater

Additional Notes #

Ensure that your project structure in the lib/ directory is correct before running the tool. This package works best for projects that maintain a clean folder structure and want to have it documented automatically.

└─ lib
   └─ my_readme_updater.dart

2
likes
0
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

A sample flutter package that updates project structure in readme file whenever we run a git command.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, process_run

More

Packages that depend on my_readme_updater