Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom shell's arguments in 'Shell' system plugin #2637

Open
Ardenet opened this issue Apr 7, 2024 · 6 comments
Open

Custom shell's arguments in 'Shell' system plugin #2637

Ardenet opened this issue Apr 7, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Ardenet
Copy link

Ardenet commented Apr 7, 2024

Is your feature request related to a problem? Please describe.

At present, Shell plugin can choose to use 'cmd', 'powershell', 'pwsh', or 'runcommand' (I am not sure what API this is). I would like to add an option that allows me to call cmd, powershell or pwsh with custom parameters and then run my command.

The main reason is that my pwsh configuration file sometimes takes about 1 second, and I use the flow plugin to quickly open a shell and run some commands, so I don't want to load the configuration file (pwsh/powershell can add the -nop option to not load the configuration).

Describe the solution you'd like

  1. Add an option such as CustomShell to allow users to add a line of commands to call the shell.
  2. Add a place to add custom parameters after the existing cmd, powershell, or pwsh options.

Here is a possible look
image

Describe alternatives you've considered

Although not adding this feature does not affect normal use, sometimes the experience may be worse.

Addition

If a developer has implemented this feature, I would greatly appreciate it. I'm very sorry that I don't know how to write C#, so I can't implement it by myself.

@Ardenet Ardenet added the enhancement New feature or request label Apr 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

@github-actions github-actions bot added the Stale label Jun 7, 2024
Copy link

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
@jjw24 jjw24 removed the Stale label Jun 24, 2024
@jjw24 jjw24 reopened this Jun 24, 2024
@jjw24
Copy link
Member

jjw24 commented Jun 24, 2024

Maybe ability to save commands

@Ardenet
Copy link
Author

Ardenet commented Jun 24, 2024

I'm not quite sure what you mean

@jjw24
Copy link
Member

jjw24 commented Jul 3, 2024

Hey, I meant while working on this issue maybe also consider adding the ability to save commands to a quick list for repeated use. That comment was more of a note to myself or whoever takes a look at this task, sorry for the confusion.

Copy link

github-actions bot commented Sep 2, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

@github-actions github-actions bot added the Stale label Sep 2, 2024
@jjw24 jjw24 removed the Stale label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants