Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taxintt/tagli


https://github.com/taxintt/tagli

git golang

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

# tagli
tagli is cli tool that handles git tags.

Notice: This cli is under development and in beta so the command may contain open issues.

## list
```bash
❯ tagli list --json | jq .
{
"v0.0.1": "bf29f494fd40a69153460cd0572cc72532fb4a5b",
"v0.0.2": "ebde28d0196866480908670970b49074b5050612",
"v0.0.3": "22552524b04b1c1c4606e1bdb8e1fa39525db1d0",
"v0.0.4": "d997070dd22e6734b4ca6b2d59548795d35119dc"
}
```

## add
```bash
❯ tagli add -t v0.0.6
Tag v0.0.6 was created%

❯ git tag -l
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
```

## increment
```bash
❯ git tag -l
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5

❯ tagli increment -t v0.0.5 --type patch
Tag v0.0.6 was created

❯ git tag -l
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
```