Skip to content

CLI reference ​

Install @jalsoedesign/putty-cli for the putty-js executable. Run putty-js --help or a write command's --help for the accepted options.

CommandPurpose
sourcesDiscover candidates and report selection evidence.
sourceShow the selected native source.
listList normalized metadata.
search <term>Search profile metadata.
get <path> [property]Select an exact profile or property.
writeCreate a normalized-profile/mutations preview.
syncPreview selected profiles from another installed adapter.
applyApply a valid saved preview explicitly.
write-statusInspect write availability without changing settings.

Source options ​

OptionPurpose
--file <path>Choose a configuration file explicitly.
--source <id>Select an exact discovered source ID.
--variant putty|kittyChoose the application variant.
--directory <path>Read a portable Sessions directory.
--registry <key>Choose an HKCU or HKLM session key.
--registry-view 32|64|defaultChoose the Windows registry view.
--executable <path>Inspect storage beside a selected executable.

Output and credentials ​

Use --json for structured output, --table for a table, --full for the adapter's full record and --recurse for hierarchical output where supported. --search filters list output. Color can be selected with --color or --no-color.

Passwords are hidden by default. --show-password explicitly resolves supported credential references and reports locked/unsupported/unavailable states. Do not forward that output into logs or shared files unintentionally.

Write options ​

--input reads normalized intent JSON. --preview saves a new preview file with create-only semantics. --plan selects a saved preview for apply. Use --mode create|update|upsert consistently for preview and apply. --allow-lossy acknowledges listed supported omissions.

For sync, use --from, the matching --from-file / --from-registry / --from-directory / --from-config selector, --profile, --target-path and, when needed, --connection. Source adapters come from a fixed allowlist and must already be installed; no automatic plugin installation occurs.

Registry destinations support --registry-mode transactional|guarded. Guarded is explicit and non-atomic; file destinations refuse it. See writing and limitations.

See complete command inputs and captured terminal/JSON output.