Request an invite
Docs menu

osmates agent type

Type text, as keystrokes or through the guest's clipboard.

Usage
osmates agent type <machine> <text> [--method <method>] [--submit] [--json]

Arguments

<machine>Required

The machine's name or identifier, as vm_list shows it.

<text>Required

The text.

--method <method>

auto, keys or paste. Default: auto.

--submit

Press Return after the text.

--json

Print the tool's structured content as one line of JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/agent/type.json

methodstringRequired

One of keys, paste.

verificationobjectRequired
verification.evidencestringRequired
verification.statusstringRequired

One of verified, unverified, failed.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page