caprover / caprover-cli

Command Line Interface for https://github.com/caprover/caprover
72 stars 40 forks source link

Where is the configuration file stored? #112

Closed fishnux closed 2 years ago

fishnux commented 2 years ago

Hello,

Where is the configuration file stored by default?

githubsaturn commented 2 years ago

CapRover uses Configstore and that package takes care of finding a proper location for the config file depending on your OS.

https://github.com/caprover/caprover-cli/blob/d20488cf70c956b92e051c09320741fcb6bc62af/src/utils/StorageHelper.ts#L24-L26