module Rob.UserMessages where
import qualified Rob.Package as Package
choseATemplate :: String
choseATemplate :: String
choseATemplate = String
"Which template do you want to use?"
choseATemplateToDelete :: String
choseATemplateToDelete :: String
choseATemplateToDelete = String
"Which template do you want to delete?"
configFileFound :: FilePath -> String
configFileFound :: String -> String
configFileFound String
path = [String] -> String
unwords [String
path, String
"was found!"]
noConfigFileFound :: String -> String
noConfigFileFound :: String -> String
noConfigFileFound String
configFileName = [String] -> String
unwords [
String
"No",
String
configFileName,
String
"file was found in your $HOME path"
]
configFileCreated :: FilePath -> [String]
configFileCreated :: String -> [String]
configFileCreated String
path = [
String
"Creating a new config file in:",
String
path
]
newTaskHelp :: String
newTaskHelp :: String
newTaskHelp = String
"Create a new project in the current folder"
addTaskHelp :: String
addTaskHelp :: String
addTaskHelp = String
"Add a new project template"
listTaskHelp :: String
listTaskHelp :: String
listTaskHelp = String
"List all the available projects templates"
removeTaskHelp :: String
removeTaskHelp :: String
removeTaskHelp = String
"Remove a template from the list of the ones available"
noTemplatesAvailable :: String
noTemplatesAvailable :: String
noTemplatesAvailable = String
"It was not possible to find any project template. Have you ever tried adding one?"
noTemplateSelected :: String
noTemplateSelected :: String
noTemplateSelected = String
"No template selected. Please select one the list"
tryAddingATemplate :: String
tryAddingATemplate :: String
tryAddingATemplate = String
"Try: " String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
Package.name String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
" " String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
"new template-name path/to/the/template/folder"
unableToParseQuestionnaire :: String
unableToParseQuestionnaire :: String
unableToParseQuestionnaire = String
"It was not able to parse the project questionnaire"
projectPathDoesNotExist :: FilePath -> String
projectPathDoesNotExist :: String -> String
projectPathDoesNotExist String
path = [String] -> String
unwords [
String
"The path to",
String
"\"" String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
path String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
"\"",
String
"does not exist!"
]
projectQuestionnaireMissing :: FilePath -> String
projectQuestionnaireMissing :: String -> String
projectQuestionnaireMissing String
path = [String] -> String
unwords [
String
"It was not possible to find any project.yml in",
String
"\"" String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
path String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
"\"",
String
"Please make sure to have a questionnaire project.yml in your template!"
]
projectAdded :: String -> String
projectAdded :: String -> String
projectAdded String
name = [String] -> String
unwords [
String
name,
String
"was added to your projects templates!"
]
parserError :: String
parserError :: String
parserError = String
"There was a parser error, this file will only be copied"
availableTemplates :: String
availableTemplates :: String
availableTemplates = String
"Available Templates:"
projectSuccessfullyCreated :: String
projectSuccessfullyCreated :: String
projectSuccessfullyCreated = String
"Your project was successfully created"
fileCreated :: String -> String
fileCreated :: String -> String
fileCreated String
file = [String] -> String
unwords [String
"Create:", String
file]
emptyString :: String
emptyString :: String
emptyString = String
""