diff --git a/cmd/variable/action/delete.go b/cmd/variable/action/delete.go index fa9177f..0880374 100644 --- a/cmd/variable/action/delete.go +++ b/cmd/variable/action/delete.go @@ -2,14 +2,11 @@ package action import ( "bunnyshell.com/cli/pkg/api/variable" - "bunnyshell.com/cli/pkg/config" "bunnyshell.com/cli/pkg/lib" "github.com/spf13/cobra" ) func init() { - settings := config.GetSettings() - deleteOptions := variable.NewDeleteOptions() command := &cobra.Command{ @@ -18,8 +15,6 @@ func init() { ValidArgsFunction: cobra.NoFileCompletions, RunE: func(cmd *cobra.Command, args []string) error { - deleteOptions.ID = settings.Profile.Context.Project - err := variable.Delete(deleteOptions) if err != nil { return lib.FormatCommandError(cmd, err)