caprover / caprover-cli

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

Creating a new app from CLI? #90

Closed wrapperup closed 3 years ago

wrapperup commented 3 years ago

Hi, I think a proper "create app" command would be great to have. Heroku does this semi-automatically when you deploy your app. I think for caprover, adding an extra parameter in the deploy command would suffice. Maybe another command? I think both would be useful.

I realize you can do this through the caprover api command, though that isn't very handy to be fair.

I would like to make a PR to add this if such a feature is wanted & doesn't exist.

githubsaturn commented 3 years ago

It's intentional that we don't reflect all API functionality via CLI. It's done to reduce the maintenance cost.

Having said that, caprover api is exposing all these functionalities for users who want to utilize other APIs.

See here for example: https://github.com/caprover/caprover-cli/issues/55