Skip to content

Run commands against the demo fixture ​

Install @jalsoedesign/jsbrains-portline-cli and save the synthetic files. These captures use those exact files. They are independent of the broader reference examples using example.invalid endpoints.

Get one property ​

sh
jsbrains-profiles get global/deployments/demo host --config ./PhpStorm2026.2 --json

Exit code: 0.

Standard output:

json
"127.0.0.1"

List profiles ​

sh
jsbrains-profiles list --config ./PhpStorm2026.2 --json

Exit code: 0.

Standard output:

json
[
  {
    "path": "global/deployments/demo",
    "host": "127.0.0.1",
    "protocol": "sftp",
    "keyFile": "",
    "remoteDirectory": ""
  },
  {
    "path": "global/ssh/demo-ssh",
    "host": "127.0.0.1",
    "protocol": "ssh",
    "keyFile": "",
    "remoteDirectory": ""
  }
]

Search metadata ​

sh
jsbrains-profiles search 127.0.0.1 --config ./PhpStorm2026.2 --color

Exit code: 0.

Standard output:

Found 2 profiles

┌──────────────────┬──────────────────────────────────────────┐
│ Label            │ Value                                    │
├──────────────────┼──────────────────────────────────────────┤
│ Name             │ Demo                                     │
│ Path             │ global/deployments/demo                  │
│ Protocol         │ sftp                                     │
│ Host             │ 127.0.0.1                                │
│ Port             │ 22                                       │
│ Username         │ deploy                                   │
│ Password         │ (hidden*)                                │
│ Passphrase       │                                          │
│ Credential state │ available                                │
│ Authentication   │ connection/password: available (hidden*) │
│ Private key      │                                          │
│ Remote           │                                          │
└──────────────────┴──────────────────────────────────────────┘

┌──────────────────┬─────────────────────┐
│ Label            │ Value               │
├──────────────────┼─────────────────────┤
│ Name             │ 127.0.0.1           │
│ Path             │ global/ssh/demo-ssh │
│ Protocol         │ ssh                 │
│ Host             │ 127.0.0.1           │
│ Port             │ 22                  │
│ Username         │ deploy              │
│ Password         │                     │
│ Passphrase       │                     │
│ Credential state │ not-stored          │
│ Authentication   │                     │
│ Private key      │                     │
│ Remote           │                     │
└──────────────────┴─────────────────────┘

*Enable passwords with --show-password

Missing profile ​

sh
jsbrains-profiles get Missing --config ./PhpStorm2026.2 --json

Exit code: 1.

Standard error:

text
{"error":"Could not find profile by path \"Missing\""}

JSON is colour-free; the human capture preserves actual CLI colours. Check the exit code before consuming output. Credential values remain masked unless explicit supported resolution is requested. See automation and the full command reference.