banzai-cli icon indicating copy to clipboard operation
banzai-cli copied to clipboard

pipeline init command should handle existing workspace

Open waynz0r opened this issue 5 years ago • 1 comments

The pipeline init command should warn the user if the workspace directory already exists.

waynz0r avatar Aug 29 '19 12:08 waynz0r

It checks for the values file now, because, for example, the user may want to prepare some files to the directory before init.

Mate% banzai cp init                     
INFO[0000] You can create another workspace with --workspace, or run `banzai pipeline up` to deploy the current one.
workspace is already initialized in "/Users/maat/.banzai/pipeline/default"```

orymate avatar Aug 29 '19 12:08 orymate