Baidu Geek Talk
Baidu Geek Talk
Mar 10, 2021 · Frontend Development

How San CLI Works Under the Hood: Core Modules, Workflow, and Plugin Architecture

This article dissects San CLI's internal architecture, detailing its core modules, the distinction between main and service processes, the step‑by‑step execution of the san init command, the TaskList implementation that drives sequential tasks, and the design of Command and Service plugins that enable extensibility.

CLICommand PluginJavaScript
0 likes · 16 min read
How San CLI Works Under the Hood: Core Modules, Workflow, and Plugin Architecture