cmd

package
v0.1.0-alpha.61 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArgsForTsNodeScript added in v0.1.0

func GetArgsForTsNodeScript(rootPath string) []string

initial args for ts-node-script we need tsconfig.json referenced because of relative paths like src/ent/generated/types.ts

func GetTsconfigPaths

func GetTsconfigPaths() string

func UseSwc added in v0.1.0

func UseSwc() bool

Types

type CommandInfo added in v0.1.0

type CommandInfo struct {
	Name   string
	Args   []string
	Env    []string
	UseSwc bool
}

func GetCommandInfo added in v0.1.0

func GetCommandInfo(dirPath string, fromTest bool) *CommandInfo

Jump to

Keyboard shortcuts

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