← All procedures

git.tag.delete

Delete a tag

CLI
Package
@procedures/git · README
Path
["git","tag","delete"]
CLI
mark git tag delete --name <string>
As data
{"$proc":["git","tag","delete"],"input":{}}

Use it

In TypeScript

import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/git/register"; // registers its procedures

const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["git","tag","delete"], { name: "<name>" });
console.log(JSON.stringify(result));

From the command line

$ mark git tag delete --name <string>

As data, in a program

{ "$proc": ["git", "tag", "delete"], "input": { "name": "<name>" } }

Input

FieldTypeRequiredDefaultDescription
namestringyesThe tag name
cwdstringnoWorking directory

Output

FieldTypeRequiredDefaultDescription
namestringyesThe tag name
hashstringyesThe object of the deleted tag
JSON Schemas
{
  "input": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string",
        "description": "The tag name"
      },
      "cwd": {
        "description": "Working directory",
        "type": "string"
      }
    },
    "required": [
      "name"
    ]
  },
  "output": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string",
        "description": "The tag name"
      },
      "hash": {
        "type": "string",
        "description": "The object of the deleted tag"
      }
    },
    "required": [
      "name",
      "hash"
    ],
    "additionalProperties": {}
  }
}