-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Open Manifest's Homepage in default browser via a command #501
Comments
An alternative is to wait for the Windows Terminal to support links (microsoft/terminal#574) which is how you typically handle this use case in Linux/MacOS terminals. |
There's a couple of concerns with that feature. (microsoft/terminal#574)
As that feature ms/terminal's link preview/clickability is awesome it doesn't present fidelity in a single application but dependencies across apps. I do not see the microsoft/terminal#574 feature as taking away from this feature, nor is it bad to have interoperability but having the app act the same in CMD, as PowerShell and other shells/terminal interfaces (for example : Fluent Terminal would be what I'd look for. |
I would propose the use of an option to show rather than a whole new command. Example:
I'm not a fan of having a very large number of commands off the root, but I also realize that I'm asking for more typing. However, this pattern could logically be extended to any URL in the manifest. Alternately, a new, more generic command to indicate 'ShellExec this thing' would be better than one specific to homepage. If this is the route chosen,
|
I agree with your concept completely, One thing I would add is that... I'm kinda like Alton Brown's motto on kitchen appliances when it comes to commands, a command that does one thing is fine but a command that can do more than one thing is better (a kitchen/cooking utensil should have more than one purpose). Good Eats - Wikipedia that being said, the command
would be the best fit for this. I still believe it should output the same as
but with the added feature of if the homepage exists it opens in the browser. the PR Demonstrates the functionality of the command. but now instead the command would turn the Question(s):There any additional thoughts on this? as for the individual command, the option of renaming the command as is would benefit the multi-function nature of the command I like but in choosing one such as I'd like to try and extend the show command and see if I can do it (i'm weak in C++ and want to try, if it doesn't get accepted that's ok as long as i can learn from this :) ) I believe a new Branch and PR would be best for this work. so that's what I'm going to do. |
microsoft/terminal#7251 will resolve this issue. Winget simply needs to utilize VT sequences instead of traditional win32 apis (which all console applications these days should do for portability). Looks like it's found here |
I'm working on this update now. |
Description of the new feature/enhancement
I was expecting to have a command that would open the homepage of the manifest without having to use copy paste within the command window itself.
Current Process I have to employ
exploring winget's : List of available manifests via
The above command lists all the manifests.
looking through the manifests some may interest me and I run
This outputs the data of the manifest in a human readable form.
Its at this point i have to Select the URL of the homepage and copy paste it into my browser.
I was expecting to find an option to open the Homepage URL via the command line.
Proposed technical implementation details (optional)
I was epxecting to be able to type something like
Expected Functions of this command.
Example: Scoop home would open the app's homepage listed in the manifest allowing for exploration.
Additional Consideration
I would also consider making at least one informatic URL (be it license[licenseURL], privacy policy[not found in manifest], or homepage url[Homepage]) required in the minimum required.
The text was updated successfully, but these errors were encountered: