Forrest logo
back to context overview

poetry

List of commands for poetry:

  • poetry:tldr:3a764 poetry: Create a new Poetry project in the directory with a specific name.
    $ poetry new ${project_name}
    try on your machine
    explain this command
  • poetry:tldr:50c95 poetry: Install a dependency and its subdependencies.
    $ poetry add ${dependency}
    try on your machine
    explain this command
  • poetry:tldr:527fe poetry: Get the latest version of all dependencies and update `poetry.lock`.
    $ poetry update
    try on your machine
    explain this command
  • poetry:tldr:a6a19 poetry: Execute a command inside the project's virtual environment.
    $ poetry run ${command}
    try on your machine
    explain this command
  • poetry:tldr:c05dc poetry: Bump the minor version of the project in `pyproject.toml`.
    $ poetry version minor
    try on your machine
    explain this command
  • poetry:tldr:ce39d poetry: Interactively initialize the current directory as a new Poetry project.
    $ poetry init
    try on your machine
    explain this command
  • poetry:tldr:e56df poetry: Install a development dependency and its subdependencies.
    $ poetry add --group dev ${dependency}
    try on your machine
    explain this command
back to context overview