src/commands.js
function removeLocalTags(options) {
    assert.ok(options.tags, 'tags is mandatory');

    return options.tags
        .reduce(function(soFar, tag) {
          var args = [
            'tag',
            '-d',
            tag
          ];
          return soFar
              .then(gitFn(args))
              .catch(passWarning)
              .then(silent);
        }, Promise.resolve());
  }
function removeLocalTags(options) {
    assert.ok(options.tags, 'tags is mandatory');

    return options.tags
        .reduce(function(soFar, tag) {
          var args = [
            'tag',
            '-d',
            tag
          ];
          return soFar
              .then(gitFn(args))
              .catch(passWarning)
              .then(silent);
        }, Promise.resolve());
  }
function removeLocalTags ( options ) { assert . ok ( options . tags , 'tags is mandatory' ) ; return options . tags . reduce ( function ( soFar , tag ) { var args = [ 'tag' , '-d' , tag ] ; return soFar . then ( gitFn ( args ) ) . catch ( passWarning ) . then ( silent ) ; } , Promise . resolve ( ) ) ; }
Removes a set of tags from the local repo
Executes `git tag -d v1.0.0`

It does not fail when the tag does not exists

@example
var git = require('gitftw');

//remove all local tags
git.removeLocalTags({
tags: git.getTags //It's a resolvable. You can specify also ['v1.0.0', 'v1.0.1']
});


@memberof git
@type {command}

@param {Object} options The options object. All its properties are {@link Resolvable}
@param {Resolvable|Array<String>} options.tags The tags to remove
@param {callback} [cb] The execution callback result
@returns {Promise} Promise Resolves with undefined
Removes a set of tags from the local repo Executes git tag - d v1 . 0 . 0