Metadata-Version: 2.1
Name: uhugo
Version: 0.2.3
Summary: Hugo publisher is a CLI utility helper for Hugo static site builder
Home-page: https://github.com/akshaybabloo/uHugo
Author: Akshay Raj Gollahalli
Author-email: akshay@gollahalli.com
License: MIT
Keywords: hugo,hugo cli helper
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click (<=9.0.0,>=8.0.3)
Requires-Dist: packaging (<24.0,>=21.0)
Requires-Dist: requests (<=3.0.0,>=2.26.0)
Requires-Dist: toml (<=1.0.0,>=0.10.2)
Requires-Dist: pyyaml (<=7.0,>=6.0)
Requires-Dist: psutil (<=6.0.0,>=5.8.0)
Requires-Dist: rich (<14.0.0,>=10.12.0)
Requires-Dist: pydantic (<=2.0.0,>=1.8.2)

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