fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

`fission app register` fails silently if no config.yml exists in ~/.config/fission/ #538

Closed jeffgca closed 2 years ago

jeffgca commented 3 years ago

STR:

  1. go to ~/.config/fission and move config.yml somewhere
  2. go to the root directly of your fancy new project and run fission app register

It should instead produce some sort of error eg 'fission is installed but you are not logged in'

Bonus points saying 'please run fission login first'.

This is sort of an edge case but people would definitely run into it if they skipped auth during fission setup and forgot to link their account before running app register. It also affects me juggling different accounts quickly without having to run fission setup every time because the ipfs binary download is slooooooow.