A CLI utility for bumping the version of any file type
Project description
Bump Anything is a command-line utility for incrementing the version It serves as a more-flexible alternative to npm version and similar tools because Bump Anything can handle any arbitrary text file and has built-in support for different types of projects.
Features
Bump the version number in any arbitrary file
Supports most project types (if no paths are supplied, automatically detects package.json in Node, setup.py in Python, WordPress themes, etc.)
Installation
Bump Anything requires Python 3.4 or newer to run, so please ensure you have it installed.
pip3 install bump-anything
Usage
Bump Anything exposes a bump command to your shell. The only required argument is a keyword indicating how you want to increment each version. It can be either major, minor, or patch.
bump major
bump minor
bump patch
With this syntax, Bump Anything will do its best to find the relevant files to bump. However, Bump Anything can also accept an optional list of one or more file paths whose versions to bump. Only the first occurrence of the version field in each file will be updated.
bump minor subdir/myfile1.txt subdir/myfile2.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bump_anything-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac719f61d95f50c1362b0774e57c230c8999fa68015ff4425ae7fad5c662f3d1 |
|
MD5 | a23d36b6cc294bcf809a2a7c6e52b680 |
|
BLAKE2b-256 | 87a1c180312052b7fa9944191a5d6f2efe119bf040fad530af2d1c0af4dc9e06 |