Skip to content

Latest commit

Β 

History

History
43 lines (30 loc) Β· 1.24 KB

File metadata and controls

43 lines (30 loc) Β· 1.24 KB

Welcome to cmd contributing guide πŸ‘‹πŸ»

Flutter Package

Read our Code of Conduct to keep our community approachable and respectable.

Directory Structure Guide

The scripts are categorized by framework wise. So, developers from other stack may find useful scripts easily.

β”œβ”€β”€ cmd
β”‚   β”œβ”€β”€ [framework]
β”‚   β”‚   β”œβ”€β”€ cmd
β”‚   β”‚   β”‚   └── [script.sh]

For example, we have a sample script for flutter doctor command that's used to inspect Flutter Framework Environment.

β”œβ”€β”€ cmd
β”‚   β”œβ”€β”€ flutter
β”‚   β”‚   β”œβ”€β”€ cmd
β”‚   β”‚   β”‚   └── doctor.sh

Script File Guide

  • Make sure you add descriptions in comments followed by # or ## above each script or in the start of Batch Scripts.
  • Add #!/bin/sh the in the beginning of script.
#!/bin/sh

##? Inspecting the current state of the Flutter environment
flutter doctor -v

##? Checking for the latest version of Flutter
# flutter upgrade

##? Checking for the latest version of Flutter with force update
# flutter upgrade --force