Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigDir = ".upify" ConfigFileName = "config.yaml" )
Variables ¶
This section is empty.
Functions ¶
func ConfigExists ¶
func ConfigExists() bool
func GetConfigFilePath ¶
func GetConfigFilePath() string
func SaveConfig ¶
Types ¶
type Config ¶
type Config struct {
Name string `yaml:"name"`
Framework framework.Framework `yaml:"framework,omitempty"`
Language lang.Language `yaml:"language"`
PackageManager lang.PackageManager `yaml:"package_manager"`
Entrypoint string `yaml:"entrypoint,omitempty"`
AppVar string `yaml:"app_var,omitempty"`
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.