UffizziCloud / uffizzi_cli

The command-line interface for the Uffizzi API
Apache License 2.0
87 stars 46 forks source link

`uffizzi dev start` (code + build locally) #334

Closed gadkins closed 1 year ago

gadkins commented 1 year ago

Summary

First iteration of uffizzi dev environments should:

Scope of this issue

Usage: uffizzi dev start <config-file> [OPTIONS]

Start a new dev environment on Uffizzi clusters.

Options:
  --name           Name for the dev environment (Optional | Auto-assigned) 
  --kubeconfig     Path to kubeconfig
  --help           Show this message and exit.
  --default-repo   Overrides the global default image registry (registry.uffizzi.com)  

Notes

$ uffizzi dev start
A valid dev environment configuration is required. Please provide a valid config, 
or run `skaffold init` to generate a skaffold.yaml configuration.  
See the `uffizzi dev start --help` page for supported configs and usage details.
zipofar commented 1 year ago

As the user is only able to create one dev environment, remove the NAME argument from the stop and start command