Skip to content

Allow to specify pager for STACKIT cli only #1755

Open

Description

@hinricht

Problem description

I don't to like to use a pager for STACKIT cli output.
However, I have PAGER set for other apps since it is a very generic env var a lot of apps are using.

Proposed solution

Use STACKIT_PAGER env var to detect the pager. If it is unset, use PAGER.

Alternative solutions (optional)

It could also be a cli config option.

Otherwise, overwriting PAGER on every stackit cli call:

PAGER=cat stackit ... 

Additional information

Thanks !

Activity

  1. rubenhoenle commented on Nov 19, 2026

    @rubenhoenle
    Member

    Hi @hinricht,

    we will discuss if/how we will implement this. Please note that we won't take the quick shot of adding the STACKIT_PAGER environment variable without proper investigation beforehand since it's pretty hard to change the order / behavior of such environment variables or even getting rid of them again without breaking user workflows.

    In the meantime I'd suggest you go e.g. with a shell alias as a workaround:

    alias stackit="PAGER=cat stackit"

    Best regards
    Ruben from STACKIT Developer Tools Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions