Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package cli exposes the command-line interface for sqlc. It can be used to run sqlc from Go without the overhead of creating a child process.

Example usage:

package main

import (
    "os"

    sqlc "github.com/mbvlabs/narsilc/pkg/cli"
)

func main() {
    os.Exit(sqlc.Run(os.Args[1:]))
}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Run the sqlc CLI. It takes an array of command-line arguments (excluding the executable argument itself) and returns an exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL