Documentation
¶
Index ¶
- Constants
- type Poetry
- func (m *Poetry) GetMetadata() plugin.Metadata
- func (m *Poetry) GetPackageDetails(packageName string) (string, error)
- func (m *Poetry) GetRootModule(path string) (*meta.Package, error)
- func (m *Poetry) GetVersion() (string, error)
- func (m *Poetry) HasModulesInstalled(path string) error
- func (m *Poetry) IsValid(path string) bool
- func (m *Poetry) ListModulesWithDeps(path string, globalSettingFile string) ([]meta.Package, error)
- func (m *Poetry) ListUsedModules(path string) ([]meta.Package, error)
- func (m *Poetry) LoadModuleList(path string) error
- func (m *Poetry) PushRootModuleToVenv() (bool, error)
- func (m *Poetry) SetRootModule(path string) error
Constants ¶
View Source
const ( VersionCmd command = "poetry run python -V" ModulesCmd command = "poetry run pip list -v --format json" MetadataCmd command = "poetry run pip show {PACKAGE}" InstallRootModuleCmd command = "poetry install" )
assume poetry will take care of python version might be python2 or python3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poetry ¶
type Poetry struct {
// contains filtered or unexported fields
}
func (*Poetry) GetPackageDetails ¶
func (*Poetry) GetRootModule ¶
Get Root Module ...
func (*Poetry) HasModulesInstalled ¶
Has Modules Installed ...
func (*Poetry) ListModulesWithDeps ¶
List Modules With Deps ...
func (*Poetry) ListUsedModules ¶
List Used Modules...
func (*Poetry) LoadModuleList ¶
func (*Poetry) PushRootModuleToVenv ¶
func (*Poetry) SetRootModule ¶
Set Root Module ...
Click to show internal directories.
Click to hide internal directories.