mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: Display Python package version from poetry (#153)
This commit is contained in:
committed by
Matan Kushner
parent
e250e71019
commit
e262187f4c
@@ -348,13 +348,15 @@ symbol = "🤖 "
|
||||
## Package Version
|
||||
|
||||
The `package` module is shown when the current directory is the repository for a
|
||||
package, and shows its current version. The module currently supports `npm` and
|
||||
`cargo` packages.
|
||||
package, and shows its current version. The module currently supports `npm`, `cargo`,
|
||||
and `poetry` packages.
|
||||
|
||||
- **npm** – The `npm` package version is extracted from the `package.json` present
|
||||
in the current directory
|
||||
- **cargo** – The `cargo` package version is extracted from the `Cargo.toml` present
|
||||
in the current directory
|
||||
- **poetry** – The `poetry` package version is extracted from the `pyproject.toml` present
|
||||
in the current directory
|
||||
|
||||
> ⚠️ The version being shown is that of the package whose source code is in your
|
||||
> current directory, not your package manager.
|
||||
|
||||
Reference in New Issue
Block a user