nullstone-io / nullstone

Nullstone is a customizable developer platform launched on your cloud accounts.
https://nullstone.io
MIT License
39 stars 1 forks source link

C386/launch #18

Closed BSick7 closed 3 years ago

BSick7 commented 3 years ago

This PR adds the launch CLI command that performs push, deploy, and log (tailing logs).

While making a nice experience, the following changes were made:

❯ nullstone launch -h                                                                                                                                                                             
NAME:
   nullstone launch - Launch application (push, deploy, log)

USAGE:
   nullstone launch [options] <app-name> <env-name>

OPTIONS:
   --stack value  The stack name where the app resides.
       This is only required if multiple apps have the same 'app-name'.
   --source value  The source artifact to push.
       app/container: This is the docker image to push. This follows the same syntax as 'docker push NAME[:TAG]'.
       app/serverless: This is a .zip archive to push.
   --version value  Push the artifact with this version.
       app/container: If specified, will push the docker image with version as the image tag. Otherwise, uses source tag.
       app/serverless: This is required to upload the artifact.
   --help, -h  show help (default: false)