Skip to content

dotnet nuget push docs query #4585

Closed
Closed

Description

@ChrisMaddock

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-push

This page confused me a little. The docs had this synopsis:

dotnet nuget push [<ROOT>] [-s|--source] [-ss|--symbol-source] [-t|--timeout] [-k|--api-key] 
[-sk|--symbol-api-key] [-d|--disable-buffering] [-n|--no-symbols] [--force-english-output] ]
[-h|--help]

And then state for ROOT:

ROOT
Specify the path to the package and your API key to push the package to the server.

However all the examples pass the api key under the -k flag. I can't see how it could be passed additionally with the filepath in the ROOT parameter - is this a documentation error, or just an undocumented syntax instead?

Activity

  1. mairaw commented on Mar 9, 2018

    @mairaw
    Contributor

    @karann-msft can you look at this question?

  2. karann-msft commented on Mar 9, 2018

    @karann-msft
    Contributor

    It is a documentation error. Root is the only required parameter. Let's update it to only say "specify the path to the package."
    cc: @anangaur

  3. ChrisMaddock commented on Mar 9, 2018

    @ChrisMaddock
    ContributorAuthor

    Thanks both - PR submitted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions