Documentation ¶ Index ¶ Constants func Cmd(log *zap.Logger, config *lib.Config, args []string) error func Help() func ImportAll(log *zap.Logger, config *lib.Config) error func ImportSingleSchema(config *lib.Config, args []string) error Constants ¶ View Source const CommandName = "import" Variables ¶ This section is empty. Functions ¶ func Cmd ¶ func Cmd(log *zap.Logger, config *lib.Config, args []string) error Import fetches the sql schema from the target database (specified in dvc.toml) and from that generates the json representation at `[schema name].schema.json` func Help ¶ func Help() func ImportAll ¶ added in v1.8.48 func ImportAll(log *zap.Logger, config *lib.Config) error func ImportSingleSchema ¶ added in v1.8.48 func ImportSingleSchema(config *lib.Config, args []string) error Types ¶ This section is empty. Source Files ¶ View all Source files help.go import.go Click to show internal directories. Click to hide internal directories.