NuGet PowerShell Prompt

Dec 5, 2010 at 5:23 AM
Edited Dec 5, 2010 at 5:38 AM

Is there a reason why the NuGet Package Manager Console doesn't support a (customizable) prompt function?

I'd be willing to submit patches for that if they'll be accepted ;)

Dec 5, 2010 at 9:00 PM

There is no specific reason. It's an oversight. Feel free to submit patch.

Dec 8, 2010 at 1:29 AM
Edited Dec 8, 2010 at 1:30 AM

Ok, I added that https://hg01.codeplex.com/forks/jaykul/nugethost

However, I have to say that when I did it, I changed IHost to have a method "GetPrompt()" instead of a "Prompt" property ... there's just something that's been drummed into me about not having a property when it has to do a lot of work ... feel free to reject that and just copy in the body of GetPrompt into the property if you're one of those people. ;-)

Developer
Dec 8, 2010 at 1:33 AM

Could you send a code review for this? We use Review Board and our review process is documented at http://nuget.codeplex.com/wikipage?title=Code%20Reviews

From: Jaykul [mailto:notifications@codeplex.com]
Sent: Tuesday, December 07, 2010 5:30 PM
To: Pranav Krishnamoorthy
Subject: Re: NuGet PowerShell Prompt [nuget:237171]

From: Jaykul

Ok, I added that https://hg01.codeplex.com/forks/jaykul/nugethost

However, I have to say that when I did it, I changed IHost to have a method "GetPrompt()" instead of a "Prompt" property ... there's just something that's been drummed into me about not having a property when it has to do a lot of work ... feel free to reject that and just copy in the body of GetPrompt into the property if you're one of those people. ;-)

Read the full discussion online.

To add a post to this discussion, reply to this email (nuget@discussions.codeplex.com@discussions.codeplex.com)

To start a new discussion for this project, email nuget@discussions.codeplex.com@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Dec 9, 2010 at 2:15 AM

Hm, ReviewBoard is giving me errors on the command-line, I couldn't get it to stop telling me I wasn't logged in. Well Bah. I pushed it through the web ui. http://reviewboard.nupack.com/r/184/