Skip to content

CLI documentation โ€‹

@jalsoedesign/portline-cli provides the shared command engine for saved-profile queries, output and guarded writes. Use an existing application command below, or embed the engine in a Node.js executable with its native reader.

Build a command โ€‹

  1. Run the toolkit quick start with a synthetic catalog.
  2. Explore commands, flags, output and errors.
  3. Add native source and writer hooks when integrating an application adapter.

The quick start includes complete programs in four languages and captured output. The shared runner returns an exit code so it can also be tested or embedded.

Use an existing command โ€‹

Install the CLI for the application that owns the saved settings. Each quick start includes a synthetic settings file, exact commands and expected output.

ApplicationInstallCommandQuick start
FileZillanpm install -g @jalsoedesign/filezilla-clifilezilla-jsRun FileZilla queries
PuTTY and KiTTYnpm install -g @jalsoedesign/putty-cliputty-jsRun session queries
HeidiSQLnpm install -g @jalsoedesign/heidisql-cliheidisql-jsRun session queries
JetBrains profilesnpm install -g @jalsoedesign/jsbrains-portline-clijsbrains-profilesRun profile queries
OpenSSHnpm install -g @jalsoedesign/openssh-cliopenssh-jsRun SSH profile queries
WinSCPnpm install -g @jalsoedesign/winscp-cliwinscp-jsRun session queries

Before changing native settings, review preview/apply, locks and recovery. For catalogs, credentials and sync planning without a terminal, use the API documentation.