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

Improve Import-TfsTeamProjectAvatar parameter handling #205

Open
igoravl opened this issue Dec 1, 2022 · 1 comment
Open

Improve Import-TfsTeamProjectAvatar parameter handling #205

igoravl opened this issue Dec 1, 2022 · 1 comment

Comments

@igoravl
Copy link
Owner

igoravl commented Dec 1, 2022

  • Add pipeline support to Project argument
  • Add argument positioning support
@igoravl
Copy link
Owner Author

igoravl commented Dec 1, 2022

Missing pipeline support:

New-TfsTeamProject MyProject -Passthru | Import-TfsTeamProjectAvatar -Path "C:\foo\bar\MyProject.png"
# Import-TfsTeamProjectAvatar: The input object cannot be bound to any parameters for the command 
# either because the command does not take pipeline input or the input and its properties do not match 
# any of the parameters that take pipeline input.

Missing argument positioning support:

Import-TfsTeamProjectAvatar MyProject -Path "C:\foo\bar\MyProject.png"
# Import-TfsTeamProjectAvatar: A positional parameter cannot be found that accepts argument 'MyProject'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant