Metadata-Version: 2.1
Name: uhugo
Version: 1.3.5
Summary: uHugo is a CLI tool to install and update Hugo binary as well as updating any cloud providers
License: MIT
Keywords: hugo,hugo cli helper
Author: Akshay Raj Gollahalli
Author-email: akshay@gollahalli.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: packaging (>=24.0,<25.0)
Requires-Dist: psutil (>=5.9.8,<7.0.0)
Requires-Dist: pydantic (>=2.7.0,<3.0.0)
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Requires-Dist: rich (>=13.7.1,<14.0.0)
Requires-Dist: toml (>=0.10.2,<0.11.0)
Description-Content-Type: text/markdown

# uHugo

[![PyPI version](https://badge.fury.io/py/uhugo.svg)](https://badge.fury.io/py/uhugo) [![Docs](https://img.shields.io/badge/Documentation-Documentation%20for%20uHugo-green)](https://akshaybabloo.github.io/uHugo/)

uHugo is a CLI tool to install and update Hugo binary as well as updating any cloud providers

## Instillation

uHugo depends on Python 3.6+, on your terminal:

```sh
pip install uhugo
```

Once installed you can test it by:

```sh
uhugo --version
```

## Usage

uHugo provides two main commands - `install` and `update`

### Install

Using `uhugo install`, will download the latest binary file from [Hugo's repository](https://github.com/gohugoio/hugo) and adds it to `$HOME/bin` folder. You can force install by using `uhugo install --force`.

> Note: Make sure you have `$HOME/bin` in your `$PATH` environment variable

![uhugo install](https://github.com/akshaybabloo/uHugo/raw/main/screenshots/cmd-install.gif)

### Update

Using `uhugo update`, will update the current binary to the latest one. You can use `--to` flag to specify the version you want to rather update to. Example `uhugo update --to 0.80.0`

![uhugo update](https://github.com/akshaybabloo/uHugo/raw/main/screenshots/cmd-update.gif)

## Providers

Providers can be used to update Hugo environment variables or configuration files of a cloud provider. See the [provider docs](https://akshaybabloo.github.io/uHugo/providers/index.html) for more information.

