Skip to content

lemano target show

Show one target: its last pass, schedule, connection and conditions

Description

Show one target as recorded by its last discover: a table row and the
notes below it (schedule, connection, what the last pass did not read,
conditions) by default, or the target as a KRM object with its status
with -o.

Synopsis

lemano target show NAME [-o json|yaml]

Examples

lemano target show web-07
lemano target show web-07 -o yaml

Flags

FlagTypeDefaultDescription
-o, --outputstringoutput format: json or yaml (default: a table for people)

Flags inherited from parent commands

FlagTypeDefaultDescription
--log-levelstringwarnlog level on standard error: debug, info, warn or error
--no-colornever colour the text (colour is also off when $NO_COLOR is set, when $TERM is dumb and when the output is not a terminal; $FORCE_COLOR turns it on, over $NO_COLOR)
--password-promptask on the terminal for the login password of each target whose file names none
--ssh-configstringssh configuration file that targets’ connection settings are read from, or none to read none (default $LEMANO_SSH_CONFIG, else the files ssh reads)
--storestringpath of the store (default $LEMANO_STORE, else $XDG_DATA_HOME/lemano/lemano.db)
--sudo-password-promptask on the terminal for the sudo password of each target whose file names none

Exit codes

See exit codes.

See also