Skip to content

Commit bff5c30

Browse files
make extract out option optional
1 parent 274e2f0 commit bff5c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func cmdExtract(args []string) {
135135
cwd string
136136
)
137137

138-
fs.StringVar(&out, "out", "", "Output file to write sanitized captured JSON (required)")
138+
fs.StringVar(&out, "out", "app.json", "Optional output file to write sanitized captured JSON (required)")
139139
fs.StringVar(&callback, "callback", "", "Optional HTTP URL to POST {\"data\": <sanitized>} to")
140140
fs.StringVar(&cwd, "cwd", "", "Optional working directory to run the client in")
141141
fs.Usage = func() {
@@ -459,7 +459,7 @@ Examples:
459459
polycode generate ./myapp -language go -out ./myapp/app
460460
polycode generate ./myapp -watch
461461
462-
polycode extract ./bin/myclient -out ./meta.json
462+
polycode extract ./bin/myclient
463463
polycode extract ./bin/myclient -out ./meta.json -callback http://localhost:8080/hook -cwd ./sandbox
464464
`)
465465
}

0 commit comments

Comments
 (0)