-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed as not planned
Closed as not planned
Copy link
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterr: invalidIssue is closed as not validIssue is closed as not validteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
I'm doing a setup script for other devs in my teams to help them setup/build/rebuild some nested flutter projects in local. For that I'm using a SH script as follows :
#!/bin/sh
flutter clean
cd ./some/dir/ || exit
flutter clean
cd ../.. || exit
flutter pub get --directory=.
flutter pub get --directory=./some/dir
dart run build_runner build --delete-conflicting-outputs
Could you please implement a --directory option directly in flutter clean to improve consistency between flutter cli commands ?
Proposal
#!/bin/sh
flutter clean --directory=./some/dir # working directory for the flutter clean command
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterr: invalidIssue is closed as not validIssue is closed as not validteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team