Skip to content

Commit

Permalink
feat: add new aliasgen tool (#6500)
Browse files Browse the repository at this point in the history
This tool is for an upcoming migration effort. We can use it to
make the migration quicker and less error prone.
  • Loading branch information
codyoss authored Aug 25, 2022
1 parent bea4028 commit 279af69
Show file tree
Hide file tree
Showing 10 changed files with 962 additions and 0 deletions.
12 changes: 12 additions & 0 deletions internal/aliasgen/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# aliasgen

This program analyzes a source directory and creates aliases for all of its
public members in the specified destination directory.

## Usage

```bash
go run cloud.google.com/go/internal/aliasgen/cmd \
-source="/Users/codyoss/oss/go-genproto/googleapis/cloud/secretmanager/v1" \
-destination="."
```
Loading

0 comments on commit 279af69

Please sign in to comment.