Skip to content

Add the --platform and --empty arguments to the flutter create tool #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2025

Conversation

gspencergoog
Copy link
Contributor

Description

This adds support for the --platform and --empty arguments of the Flutter CLI tool, so that the LLM can create projects for specific platforms, and will by default create projects without extra boilerplate, etc.

Tests

  • Added tests for the two new options.

Copy link

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

@gspencergoog gspencergoog force-pushed the add_platform branch 3 times, most recently from e77cbaf to 12a87c4 Compare May 24, 2025 01:17
description:
'This must be equal to or a subdirectory of one of the roots '
'returned by a call to "listRoots".',
'allowed by the client. Must be a URI with a `file:` '
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this because one thing I'm seeing: the create_project tool gets called 3-4 times in a row by the LLM because the LLM doesn't know what roots it has. I'm going to add them into the context, but I added some words to the description so that it would at least know that it's supposed to be a file: uri and not a path like "." or "my_project".

@gspencergoog gspencergoog merged commit 47fa2fc into dart-lang:main May 28, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants