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

Improve CLI output #187

Open
saitho opened this issue Jan 17, 2023 · 0 comments
Open

Improve CLI output #187

saitho opened this issue Jan 17, 2023 · 0 comments
Labels
cli Issue related to StackHead CLI
Milestone

Comments

@saitho
Copy link
Member

saitho commented Jan 17, 2023

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

@saitho saitho added the cli Issue related to StackHead CLI label Jan 17, 2023
@saitho saitho added this to the v2.0.0 milestone May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli Issue related to StackHead CLI
Projects
None yet
Development

No branches or pull requests

1 participant