DefangLabs / defang

Defang CLI and sample projects. Defang is a radically simpler way for developers to develop, deploy, and debug cloud applications.
https://defang.io
MIT License
39 stars 9 forks source link

"-P<aws|digitalocean|defang>" nor "--provider <aws|digitalocean|defang>" is allowed #892

Closed nullfunc closed 3 days ago

nullfunc commented 3 days ago

Description:

Regression: defang compose up --provider aws use to work but now you cannot have a space between --provider and aws

Error message is "Error: unknown command "aws" for "defang compose up""

-Paws also fails

Steps to reproduce the problem.

  1. Go to a project directory with a compose file
  2. enter defang compose up --provider aws
  3. See error

Expected behavior.

defang command should be able to take a provider flag with a space between the flag name and the provider name -Paws should also be able to accept aws as a provider

Actual behavior.

using "defang compose up --provider aws" returns this error: "Error: unknown command "aws" for "defang compose up"" using "-Paws" returns this error: "Error: unknown flag: --Paws"

Environment:

v0.6.5 Defang Fabric: v0.6.0-169-g3e5f8a28 OS X zsh

Additional Information, Relevant dependencies, Screenshots, Logs, Etc...