Skip to content

state show

Print the schema recorded in the state store as human-readable text. This is a read of what NSchema last recorded, useful for inspecting state or diffing it against import output.

Terminal window
nschema state show # read the configured STATE store
nschema state show ./state.json # read a state file directly off disk

Pass a path to read a state file straight from disk instead of the configured store.

  • file (optional) — path to a state file on disk to read instead of the configured store.
  • -s, --scope <address> — limit the output to a schema (app) or a single object (app.orders). May be repeated.