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

Commit f674e82

Browse files
committed
add TODOs
1 parent 53ae4b7 commit f674e82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/gotofuenv/subcmd.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func newDetectCmd(conf *config.Config, versionManager versionmanager.VersionMana
5454
},
5555
}
5656

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

5960
return detectCmd
@@ -303,6 +304,7 @@ func addDescendingFlag(flags *pflag.FlagSet, pReverseOrder *bool) {
303304
}
304305

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

0 commit comments

Comments
 (0)