How to use the turbo-git-config.parser.getTagsFormat function in turbo-git-config

To help you get started, we’ve selected a few turbo-git-config examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github labs-js / turbo-git / lib / commands / commit.js View on Github external
function init() {
        inquirer
            .prompt([{
                type: 'list',
                name: 'tag',
                message: configParser.getCommitPromptText('tag'),
                choices: configParser.getTagsFormat()
            }])
            .then(function (answers) {
                var tagTitle = answers.tag;

                showPrompts(tagTitle);
            });
    }