Skip to content

Commit 967ad6a

Browse files
committed
Removed unused function
1 parent 59c851e commit 967ad6a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

commands/config/init.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ func runInitCommand(cmd *cobra.Command, args []string) {
5757
formatter.PrintErrorMessage("The interactive mode is supported only in text mode.")
5858
os.Exit(commands.ErrBadCall)
5959
}
60-
configsFromQuestions()
6160
}
6261

6362
filepath := initFlags.location
@@ -72,11 +71,3 @@ func runInitCommand(cmd *cobra.Command, args []string) {
7271
formatter.PrintResult("Config file PATH: " + filepath)
7372
logrus.Info("Done")
7473
}
75-
76-
// FIXME: is this any useful?
77-
// ConfigsFromQuestions asks some questions to the user to properly initialize configs.
78-
// It does not have much sense to use it in JSON formatting, though.
79-
func configsFromQuestions() {
80-
//logrus.Info("Asking questions to the user to populate configuration")
81-
// Set of questions here.
82-
}

0 commit comments

Comments
 (0)