Skip to content

Commit

Permalink
chore: remove plan flag from project creation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevcodez committed Feb 19, 2024
1 parent 993ec43 commit 873e25d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ var (
region = utils.EnumFlag{
Allowed: make([]string, len(utils.RegionMap)),
}
plan = utils.EnumFlag{
Allowed: []string{string(api.CreateProjectBodyPlanFree), string(api.CreateProjectBodyPlanPro)},
Value: string(api.CreateProjectBodyPlanFree),
}

projectsCreateCmd = &cobra.Command{
Use: "create [project name]",
Expand Down Expand Up @@ -129,8 +125,6 @@ func init() {
createFlags.StringVar(&orgId, "org-id", "", "Organization ID to create the project in.")
createFlags.StringVar(&dbPassword, "db-password", "", "Database password of the project.")
createFlags.Var(&region, "region", "Select a region close to you for the best performance.")
createFlags.Var(&plan, "plan", "Select a plan that suits your needs.")
cobra.CheckErr(createFlags.MarkHidden("plan"))
cobra.CheckErr(viper.BindPFlag("DB_PASSWORD", createFlags.Lookup("db-password")))

apiKeysFlags := projectsApiKeysCmd.Flags()
Expand Down

0 comments on commit 873e25d

Please sign in to comment.