コード例 #1
0
ファイル: prompts.go プロジェクト: giancosta86/moondeploy
func FormatSecureFirstRunPrompt(bootDescriptor descriptors.AppDescriptor) string {
	const basicFirstRunTemplate = "You are running an application for the first time." +
		"\n\n\nTitle:   %v" +
		"\n\nPublisher:   %v" +
		"\n\nAddress:   %v\n\n\nDo you wish to proceed?"

	return fmt.Sprintf(basicFirstRunTemplate,

		bootDescriptor.GetTitle(),
		bootDescriptor.GetPublisher(),
		bootDescriptor.GetDeclaredBaseURL())
}