Start a shell from the example
workspace root dir:
The polyx
tool can create output images for info, deps and libs commands.
Let’s create an output image from info
:
example$ info out:info.png
|
The polyx tool always uses a dark-themed terminal style for image output.
|
If you choose any other filename extension, e.g., .txt
, polyx
will output text:
example$ poly info out:info.txt
The output contains ANSI escape codes to colorize the text.
If you cat info.txt
you’ll see colorful output:
ANSI escape codes are not appropriate for some usages.
Specify color-mode:none
for plaintext output:
example$ info out:info.txt color-mode:none
stable since: c91fdad
projects: 2 interfaces: 1
bases: 1 components: 1
project alias status dev
----------------------------- ---
command-line * cl --- ---
development * dev s-- s--
interface brick cl dev
----------------- --- ---
user user * stx st-
- cli * stx st-
The polyx
tool includes an overview command:
example$ overview out:overview.png :no-changes