Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSpec ¶
type PubSpec struct { Name string Description string Version string Author string Dependencies map[string]interface{} Flutter map[string]interface{} }
PubSpec contains the parsed contents of pubspec.yaml
func GetPubSpec ¶
func GetPubSpec() PubSpec
GetPubSpec returns the working directory pubspec.yaml as a PubSpec
func ReadPubSpecFile ¶
ReadPubSpecFile reads a .yaml file at a path and return a correspond PubSpec struct
func (PubSpec) GetDescription ¶ added in v0.41.3
func (PubSpec) GetVersion ¶ added in v0.41.3
Click to show internal directories.
Click to hide internal directories.