This is an attempt towards initiating programs with ease and subsequent automation of many of the drirectory creation and ommiting precreated comments.
This shell script initiates flutter programs with a clean start insted of the default counter program created by flutter create
. It cleans the pubspec.yaml
and adds and initiates seprate folders for fonts, images, icons.
It can also create python virtual environments. If required default files can also be used to initiate the environment.
Hope this automates some of the jobs...
I have tried to keep requirements to a minimum but for all of them to fuction
- Flutter (For initiating flutter project(s))
- Python-3.x (For using initiated python project(s))
-
Git clone the repository
-
Go to the directory and try :
./autoinit --help This will give all the options available options.
-
To try to create a project use the following command:
. autoinit --create flutter --name Hello
for the ease of operation and keeping the ability to switch betwwen different options a configeration file is created so that the following options can be incorporated.
- Switch between WSL(Windows subsystem for linux) and UNIX environment
- Flutter auto update while starting the project
- Launching VS code automatically on creating the project.
Feel free to clone it, fork it and raise issues. For some bugs please resort to single string names