Skip to content

Commands that have --offline as an option should recommend it when unable to connect. #15717

@gspencergoog

Description

@gspencergoog

flutter create and flutter packages get (and others?) have an --offline flag that allows them to work offline if the pub cache is sufficiently full. We should have those commands recommend using --offline if they fail to connect to the server.

Alternatively, we could just go ahead and try to run offline automatically (with a great big warning that we've done so) if we can't connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions