ensureInitialized static method

void ensureInitialized()

Implementation

static void ensureInitialized() {
  if (!isInitialized()) {
    throw Exception('ContextForge not initialized. Run "contextforge init" first.');
  }
}