bootstrap

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts InitOptions) error

Run creates DEEPSEEK.md and .deepseek/config.toml in the project root. It detects the project language and writes appropriate build/test commands into the templates. Existing files are skipped unless Force is true.

Types

type InitOptions

type InitOptions struct {
	Force bool   // overwrite existing files
	CWD   string // project root; empty means os.Getwd
}

InitOptions controls the behaviour of dsc init.

type Lang

type Lang struct {
	Name    string // "go", "node", "python", "rust", or "unknown"
	Build   string
	Test    string
	PkgMgr  string
	Lint    string
	Modules []string // e.g. ["go"], ["npm", "pnpm", "yarn"]
}

Lang holds detected project language info.

Jump to

Keyboard shortcuts

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