Skip to main content

Module interactive

Module interactive 

Source
Expand description

§Interactive Mode

This module implements an interactive REPL for the Scope CLI where context is preserved between commands. Users can set a chain once and subsequent commands will use it automatically.

§Usage

scope interactive

scope> chain solana
Chain set to: solana

scope> address 7xKXtg...
# Uses solana chain automatically

Structs§

InteractiveArgs
Arguments for the interactive command.
SessionContext
Session context that persists between commands in interactive mode.

Functions§

run
Runs the interactive REPL.