Skip to content

non-intuitive output directory #872

@aryzing

Description

@aryzing

What version of protobuf and what language are you using?
Version: libprotoc 3.8.0, Go

What did you do?
protoc api/service.proto --go_out=plugins=grpc:api

What did you expect to see?
For the output to be in the destination folder api (as specified by the args to --go_out)

What did you see instead?
The output was put inside api/api directory (it created a directory named api inside api. To get the desired results, I need to specify my target directory as .. which is totally counter-intuitive.

I'm aware of the paths flag, and i was looking for a paths=cwd or similar where I can actually specify the output directory based on where I'm running the command from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions