cmd

package
v0.0.0-...-4fcc4bf Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cmd is the entry point for the command line tool a language server for the seltabl package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(
	ctx context.Context,
	root *cobra.Command,
	db *data.Database[master.Queries],
) error

AddCommands adds the routes for the root command.

func CreateConfigDir

func CreateConfigDir(dirPath string) (string, error)

CreateConfigDir creates a new config directory and returns the path.

func Execute

func Execute(ctx context.Context) error

Execute runs the root command

func NewRootCmd

func NewRootCmd(ctx context.Context) (*cobra.Command, error)

NewRootCmd creates a new root command

Types

This section is empty.

Directories

Path Synopsis
Package cmds contains the commands for the CLI.
Package cmds contains the commands for the CLI.

Jump to

Keyboard shortcuts

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