Skip to content

YunoHost/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

An experimental network based CLI for yunohost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages