Merge pull request #1720 from samalba/deprecate-cmd-up

cmd/up: deprecate `dagger up` with a warning
This commit is contained in:
Andrea Luzzardi 2022-03-08 18:11:34 -08:00 committed by GitHub
commit 379f24fdd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,10 @@ import (
) )
var upCmd = &cobra.Command{ var upCmd = &cobra.Command{
// FIXME: this command will be removed soon
Hidden: true,
Deprecated: "please use `dagger do ACTION` instead",
Use: "up", Use: "up",
Short: "Bring an environment online with latest plan and inputs", Short: "Bring an environment online with latest plan and inputs",
Args: cobra.MaximumNArgs(1), Args: cobra.MaximumNArgs(1),