Skip to content

dart create should offer convenience --project-name like flutter create #52564

Open
@kriswuollett

Description

@kriswuollett

Use case is creating a Dart package in a monorepo where one doesn't need the full package name in the directory name, e.g., package company_division_api in directory ./company/division/api where monorepo pubspec_overrides.yaml are managed by ./melos.yaml.

Currently my workaround is:

$ cd company/division
$ dart create -t package company_division_api
$ mv company_division_api api

It would be nice to have:

$ dart create -t package company_division_api ./company/division/api

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.dart-cli-createIssues related to the 'dart create' tooltype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions