Skip to content

FR: add a --forward-env parameter to "shpool attach" #364

@skissane-medallia

Description

@skissane-medallia

AI Policy Ack
Ack

What new feature do you want?
shpool attach --foward-env= (you could make it repeatable, or only once but with an array value or separator). So I can specify environment variables to forward.
Similar idea to --dir= option

I am writing a script which dynamically decides which environment variables to forward to a new session it creates.

Now, I can probably work around this by dynamically generating a config toml file, and passing it as --config-file. If I am confident the daemon is already running by now, it won't be forwarded to the daemon, it will just be used by the attach. Still, that's a pretty complex workaround for not having an option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions