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.
- Host: GitHub
- URL: https://github.com/eeriemyxi/cela
- Owner: eeriemyxi
- License: mit
- Created: 2024-10-21T16:10:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-22T18:47:37.000Z (over 1 year ago)
- Last Synced: 2025-06-26T08:04:53.603Z (about 1 year ago)
- Topics: cli, deno, js, semantic-versioning
- Language: TypeScript
- Homepage: https://myxi-cela.pages.dev/
- Size: 590 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cela

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.
```