Skip to content

REPL

Choose a tag to compare

@HeavyMedl HeavyMedl released this 12 Jul 04:35
· 13 commits to main since this release

[3.0.0] - 2025-07-11

Introduction of REPL

  • Added interactive REPL shell via npx netstorage command.
  • Supports tab completion for commands and remote/local paths.
  • Dynamic path resolution based on command argument positions (e.g., remote vs. local).
  • Maintains working directory context and caches directory listings for fast navigation.
  • Handles standard navigation commands (cd, ls, ll, pwd, clear, exit) natively.
  • Automatically resolves missing remote paths in upload/download/sync operations using current REPL context.
  • Integrates with main CLI commands for invocation with resolved arguments and options.

Changes

  • Removed tree from the public API surface; it remains available as a CLI command.
    The underlying rendering logic is now available via utility functions.