No description
Find a file
2026-02-02 16:03:08 +01:00
.github/workflows Run lint on pull requests too 2025-05-14 15:33:56 +02:00
src/yunohost_cli Use asyncio.run() 2026-02-02 16:03:08 +01:00
.gitignore fix 2025-05-10 15:30:48 +02:00
pyproject.toml pyproject: set python 3.13 as dependency for trixie 2025-11-06 13:26:37 +01:00
README.md Add todos to readme 2025-05-14 21:48:05 +02:00
uv.lock Update uv.lock after python 3.13 update 2025-11-06 13:37:00 +01:00

YunoHost CLI

This project aims to replace the current yunohost command line whose source code is tightly coupled to the server.

It uses the YunoHost REST API, and can be use either locally (hostname == localhost) or remotely.

The command line format is extracted from the actionsmap.yml that it can either find locally installed by the yunohost server, or fallback on its local copy.

It saves its configuration at ~/.config/yunohost/cli.toml.

Installation

This tool is not yet published, on Pypi nor debian repos.

Usage

It is for now installed as yunohost-cli and ynh to prevent conflicts with the existing yunohost command line.

uv run ynh --help

# Login and save the creds
uv run cli auth myserver.tld myusername mypassword

uv run ynh user list

TODO:

  • debug log streaming ?

  • implement interactive prompts

    • app install
    • user update
    • ?
  • safe authentication

  • automatic authentication on local server

  • rewrite in rust?