Skip to content

A python script to run example project of pub.dev packages

License

ashbin/pub_package_runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pub_package_runner

A python script to run example project of pub.dev packages
This script can be used to launch the example project from pub.dev packages. The script will clone the package repository with depth=1, then launch Android Studio or Visual Studio Code (specified with -s argument) with example project. Then run flutter run command from example directory

Steps to run

  1. Clone this repository to Downloads
  2. cd ~/Downloads/pub_package_runner
  3. python3 pub_package_runner.py <package-name> -s <path-to-android-studio> -f <path-to-flutter>

Example

python3 pub_package_runner.py scrollable_table_view -s /Applications/Android\ Studio.app -f /Users/ashbin/fvm/versions/3.7.3/bin/flutter

Requirements : python3

Note : This script is tested with MacOS and python3 with popular flutter packages.

About

A python script to run example project of pub.dev packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages