Complete CLI input reference
The help below is captured from the built executable. It is paired with the output reference. Commands and flags remain application-specific.
putty-js --help
text
Usage: putty-js <command> [options] [args]
Commands: search <term>, list, get <path> [property], source, write, sync, apply, write-status, sources
Options: --json, --table, --full, --recurse, --search <term>, --show-password, --help
--source: Select a discovered source ID
--executable: Inspect storage beside an application executable
--directory: Portable session directory
--registry: HKCU or HKLM session registry key
--registry-view: 32, 64 or default registry view
--variant: putty or kittysearch
Uses the global command syntax and options shown above. See the command guide for usage.
list
Uses the global command syntax and options shown above. See the command guide for usage.
get
Uses the global command syntax and options shown above. See the command guide for usage.
source
Uses the global command syntax and options shown above. See the command guide for usage.
write
text
write-status [destination options]: inspect process, lock and registry capability diagnostics
Registry policy: --registry-mode transactional|guarded (repeat with apply; no automatic fallback)
write --input profiles.json --preview new-plan.json [destination options]
sync --from <application> --profile <path> --target-path <path> --preview new-plan.json
apply --plan new-plan.json [the same explicit destination and policy options]
Previews never apply writes. Applications must be closed; unknown state and native locks block apply.
Modes: --mode create|update|upsert. Stored secrets are never copied. No force/lock bypass is provided.sync
text
write-status [destination options]: inspect process, lock and registry capability diagnostics
Registry policy: --registry-mode transactional|guarded (repeat with apply; no automatic fallback)
write --input profiles.json --preview new-plan.json [destination options]
sync --from <application> --profile <path> --target-path <path> --preview new-plan.json
apply --plan new-plan.json [the same explicit destination and policy options]
Previews never apply writes. Applications must be closed; unknown state and native locks block apply.
Modes: --mode create|update|upsert. Stored secrets are never copied. No force/lock bypass is provided.apply
text
write-status [destination options]: inspect process, lock and registry capability diagnostics
Registry policy: --registry-mode transactional|guarded (repeat with apply; no automatic fallback)
write --input profiles.json --preview new-plan.json [destination options]
sync --from <application> --profile <path> --target-path <path> --preview new-plan.json
apply --plan new-plan.json [the same explicit destination and policy options]
Previews never apply writes. Applications must be closed; unknown state and native locks block apply.
Modes: --mode create|update|upsert. Stored secrets are never copied. No force/lock bypass is provided.write-status
text
write-status [destination options]: inspect process, lock and registry capability diagnostics
Registry policy: --registry-mode transactional|guarded (repeat with apply; no automatic fallback)
write --input profiles.json --preview new-plan.json [destination options]
sync --from <application> --profile <path> --target-path <path> --preview new-plan.json
apply --plan new-plan.json [the same explicit destination and policy options]
Previews never apply writes. Applications must be closed; unknown state and native locks block apply.
Modes: --mode create|update|upsert. Stored secrets are never copied. No force/lock bypass is provided.sources
text
Use sources --json to inspect candidates; select with --source <id> or an explicit source path.Declared source and write options
These rows come from the CLI source option definitions and shared write option contract. Arguments taking values are described in the command reference.
| Option | Meaning |
|---|---|
--source | Select a discovered source ID |
--executable | Inspect storage beside an application executable |
--directory | Portable session directory |
--registry | HKCU or HKLM session registry key |
--registry-view | 32, 64 or default registry view |
--variant | putty or kitty |
--registry-mode | transactional (default) or explicit non-atomic guarded registry mode |
--input | Normalized profile/mutations JSON |
--preview | Save a new preview JSON file (never applies it) |
--plan | Saved preview for explicit apply |
--mode | create (default), update or upsert |
--allow-lossy | Acknowledge listed directory/metadata omissions |
--from | Source application for one-way sync |
--from-file | Source native configuration file |
--from-directory | Source portable directory |
--from-registry | Source session registry key |
--from-config | Source JetBrains IDE config |
--from-project | Source JetBrains project |
--profile | Exact source profile path |
--target-path | Exact destination profile path |
--connection | Selected source connection ID |
--scope | JetBrains destination global or project scope |