python-poetry / python-poetry/poetry-plugin-shell

(🎁) allow `poetry shell` to send additional arguments to the shell

Open
#16 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
141
Forks
10
Avg merge
59m
Merged PRs (30d)
3

Description

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

If I want to launch a shell and want to pass arguments to the actual shell it's impossible

> poetry shell -- -NoProfile -NoLogo
...
  NoSuchOptionException

  The "-N" option does not exist.
...
> poetry shell -NoProfile -NoLogo
...
  NoSuchOptionException

  The "-N" option does not exist.
...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the poetry shell command entry point and reproduce the reported PowerShell invocations with -- -NoProfile -NoLogo and without the separator. Trace how arguments are parsed before they reach the shell; done means additional shell arguments are forwarded without triggering NoSuchOptionException.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.