VeryGoodOpenSource / very_good_cli

A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄

Home Page:http://cli.vgv.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: add `.` as a valid option to `create` or allow no argument

a-wallen opened this issue · comments

Description
As a user of the very_good_cli I want to be able to use . as the argument for very_good create.

If no argument or . is given, the cli uses the current folder's name as the project name.

Notes

  • The flutter create command works the same way, allowing . to automatically pull in the current directory name
  • This should not override the current default which is to error out to the help output. If a user wants to use this option they should be explicitly adding . to the command.
  • We do have support for this in the dart_frog_cli already as well

Hi @a-wallen 👋 given the notes we have added here would you be willing to help out and submit a PR for this change?

yeah I'm down