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

https://github.com/eeriemyxi/cela

Increment or decrement semantic versions on files using custom parsers (external scripts) as templates.
https://github.com/eeriemyxi/cela

cli deno js semantic-versioning

Last synced: about 2 months ago
JSON representation

Increment or decrement semantic versions on files using custom parsers (external scripts) as templates.

Awesome Lists containing this project

README

          

# Cela

![](https://files.catbox.moe/dladd7.png)

This tool helps you increment/decrement semantic versions in files using custom
scripts and ergonomic shell commands.

# [Documentation](https://myxi-cela.pages.dev)

For documentation please [go here](https://myxi-cela.pages.dev).

# Installation

You can download pre-compiled self-contained binaries from
[GitHub Releases](https://github.com/eeriemyxi/cela/releases).

### Manual

```shell
git clone --depth 1
cd cela
deno run install
```

Deno (v2) runtime is required to run.

# Command-line Arguments

```
Usage: cela
Version: 0.4.0

Description:

Increment or decrement semantic versions on files using custom parsers.

Options:

-h, --help - Show this help.
-V, --version - Show the version number for this program.
-d, --debug - Enable debug logs. Useful if you want to debug your parsers.
-D, --dry-run - Do a dry run. Skips running updater script (fetcher script is ran).
-r, --no-reset - Do not reset by precedence. Disables spec. 7, see
https://semver.org/#spec-item-7
-Z, --no-zero - Do not reset when a version is less than 0.
-C, --custom - Instead of incrementing, set the version to this string.
-M - Increment MAJOR version by 1. Can be used multiple times.
-m - Increment MINOR version by 1. Can be used multiple times.
-p - Increment PATCH version by 1. Can be used multiple times.
-z - Decrement MAJOR version by 1. Can be used multiple times.
-x - Decrement MINOR version by 1. Can be used multiple times.
-c - Decrement PATCH version by 1. Can be used multiple times.
```