dartdosh 0.0.3
dartdosh: ^0.0.3 copied to clipboard
A simple Flutter build CLI wrapper
DartDosh CLI – User Guide #
DartDosh is a CLI tool for simplifying Flutter builds. Run commands directly:
dartdosh build <target> --<environment> [extra flags]
Examples:
dartdosh build ipa --production --split
dartdosh build apk --development --other-flag
Requirements #
- Dart SDK ≥ 3.0
- Flutter SDK installed
- Terminal (Mac/Linux/Windows)
Installation #
Clone and Activate #
git clone https://github.com/username/dartdosh.git
cd dartdosh
dart pub global activate --source path .
Add to PATH #
Mac/Linux (.zshrc or .bashrc):
export PATH="$PATH:$HOME/.pub-cache/bin"
source ~/.zshrc
Windows PowerShell:
$env:PATH += ";$env:USERPROFILE\.pub-cache\bin"
Usage #
dartdosh build <target> --<environment> [extra flags]
<target>:ios,apk,appbundle<environment>:--production,--staging,--development[extra flags]: e.g.,--split,--other-flag
Notes:
- For APK builds,
--splitautomatically adds--split-per-abi - Any additional flags after the base command are appended automatically