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

Ability to specify default root to the commands during execution #54

Open
Nilavarasi-Ashika opened this issue Jun 8, 2023 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@Nilavarasi-Ashika
Copy link

Is your feature request related to a problem? Please describe.
Need an ability to specify default root value to append with group command in the scenario's like command execution root is not specified.

Describe the solution you'd like
Command format
e.g., xxx yyy exCommand
xxx - (Root)
yyy - (group)
In this case user mentioned command like yyy exCommand need and ability to append the root (xxx) which is configured in default.

@Nilavarasi-Ashika
Copy link
Author

@asperpint
Copy link
Contributor

asperpint commented Jun 8, 2023

@Nilavarasi-Ashika, our terminal framework supports multiple roots. If we provide this option to specify the default root, it may cause issues for other roots.

Are you suggesting this option for Terminals that have only 1 root command?

e.g. ->
root1 group1 cmd1
root2 group1 cmd2
root3 group3 cmd3

@asperpint asperpint self-assigned this Jun 8, 2023
@asperpint asperpint added documentation Improvements or additions to documentation question Further information is requested labels Jun 8, 2023
@Nilavarasi-Ashika
Copy link
Author

@asperpint yes we are suggesting default value option for terminals that have one root command.

@prawasu
Copy link
Contributor

prawasu commented Jun 10, 2023

@Nilavarasi-Ashika, thanks for reporting this issue. We are currently investigating a similar functionality requested by another customer. As part of this request, we will link the terminal to the root command. After this, you can execute your terminal commands from the regular command prompt by specifying the root and subcommand.

E.g. dotnet build "test.csproj" executes the dotnet.exe app and sends the command to the dotnet app. After linking, your terminal becomes an app (similar to dotnet) that accepts the commands.

Sample execution

  • From a command prompt
    dotnet build "test.csprog" -c Release
  • By Executing the dotnet app directly
    dotnet build "test.csprog" -c Release build "test.csprog" -c Release

Thi feature will be supported in future with terminals with 1 root command.

Is this what you are looking for?

@prawasu prawasu added enhancement New feature or request and removed question Further information is requested labels Jun 10, 2023
@prawasu prawasu changed the title ability to specify default root append the group command incase root not mentioned Ability to specify default root to the commands during execution Jun 10, 2023
@prawasu
Copy link
Contributor

prawasu commented Jun 10, 2023

Similar to #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants