flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

`fly apps open` does not load `-a` flag

Open kubosuke opened this issue 10 months ago • 0 comments

Please only report specific issues with flyctl behavior. Anything like a support request for your application should go to https://community.fly.io. More people watch that space and can help you faster!

Describe the bug

fly apps open has a option to specify app name,

❯ fly apps open --help
Open browser to current deployed application. If an optional relative URI is specified, it is appended to the root URL
of the deployed application.

Usage:
  fly apps open [RELATIVE_URI] [flags]

Flags:
  -a, --app string      Application name
  -c, --config string   Path to application configuration file
  -h, --help            help for open

Global Flags:
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output

but if I specify app name with it, it tries to load config file

and also if config file exist on local, -a flag is completely ignored

❯ fly apps open -a test
 Error: The app config could not be found
  • Operating system
❯ sw_vers
ProductName:		macOS
ProductVersion:		14.5
BuildVersion:		23F79
  • fly version
❯ f version
fly v0.3.77 darwin/arm64 Commit: cd05a978ef72ecceca6925c32322fe2373cebc45 BuildDate: 2025-02-10T15:02:01Z

** Paste your fly.toml

none

kubosuke avatar Feb 11 '25 14:02 kubosuke