Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Improve CLI output #187

@saitho

Description

@saitho

The CLI should be showing the progress to the user.
Only the desired text should be printed; additional texts by called commands should not be printed.

Passing -v will not do the animations and just print the lines as before. Debug output should only be shown with -vvv

Example:

Installing Docker container module
- Creating directories

Installing Docker container module
- Creating directories ✓
- Installing packages (1/2) – docker

Installing Docker container module
- Creating directories ✓
- Installing packages (2/2) – containerd

Installing Docker container module
- Creating directories ✓
- Installing packages ✓
Installing Caddy proxy module
- Installing packages (1/1) – caddy

Installing Docker container module
- Creating directories ✓
- Installing packages ✓
Installing Caddy proxy module
- Installing packages ✓
- Creating configuration files

Installing Docker container module
- Creating directories ✓
- Installing packages ✓
Installing Caddy proxy module
- Installing packages ✓
- Creating configuration files ✓

If technically possible, completed steps should be collapsed:

Installing Docker container module ✓
Installing Caddy proxy module
- Installing packages ✓
- Creating configuration files

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliIssue related to StackHead CLI

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions