ExtContext

class ExtContext

External command context

Members defined in ExtContext (2 members)

path

RW

Path of commands taken to the current command

term_width

RW

The stdout terminal width if it is one, or a large number.

Attributes

property path: Sequence[str]

Path of commands taken to the current command

property term_width: int

The stdout terminal width if it is one, or a large number.

This can be used to fit output content instead of relying on terminal wrapping.

Used in