Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaumoron committed Jan 12, 2024
1 parent 53ae4b7 commit f674e82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/gotofuenv/subcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func newDetectCmd(conf *config.Config, versionManager versionmanager.VersionMana
},
}

// TODO force-remote and no-install flags
addRemoteUrlFlag(detectCmd.Flags(), conf, pRemote)

return detectCmd
Expand Down Expand Up @@ -303,6 +304,7 @@ func addDescendingFlag(flags *pflag.FlagSet, pReverseOrder *bool) {
}

func addRemoteUrlFlag(flags *pflag.FlagSet, conf *config.Config, pRemote *string) {
// TODO dont add github-token flag for tf subcommands
flags.StringVarP(&conf.GithubToken, "github-token", "t", "", "GitHub token (increases GitHub REST API rate limits)")
flags.StringVarP(pRemote, "remote-url", "u", *pRemote, "remote url to install from")
}

0 comments on commit f674e82

Please sign in to comment.