cbf
Version:
A package for creating scripts to store and run your most commonly used CLI commands for a repo or just in general
24 lines (21 loc) • 808 B
JavaScript
#!/usr/bin/env node
const messages = {
errorParsingYamlFile: {
message: '\nError parsing <primary>{yamlFileName}<primary> yaml file.\n\n<error>{error}<error>',
},
incorrectlyFormattedVariables: {
message: 'Variables are not in the correct format',
},
errorParsingJsonFile: {
message: 'Error parsing <primary>{jsonFileName}<primary> json file.\n\n<error>{error}<error>',
},
scriptKeyUsedAsOption: {
message:
'Error parsing <secondary>{parentKey}<secondary> in <primary>{fileName}<primary> file.\n\nCannot use <secondary>{scriptKey}<secondary> tag as an option',
},
missingScriptStartingKey: {
message:
'Error parsing <secondary>{fileName}<secondary> file. Expected <secondary>{scriptStartingKey}<secondary> tag to exist',
},
};
module.exports = messages;