Skip to content

Commit

Permalink
fix(cli): update CLI autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Jun 1, 2020
1 parent 66dfe75 commit 8c04c14
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion jina/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# do not change this line manually
# this is managed by proto/build-proto.sh and updated on every execution
__proto_version__ = '0.0.30'
__proto_version__ = '0.0.31'

import platform
import sys
Expand Down
5 changes: 2 additions & 3 deletions jina/main/autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,5 @@ def _gaa(parser):
'--log-with-own-name', '--host', '--port-grpc', '--max-message-size', '--proxy'],
'log': ['--help', '--groupby-regex', '--refresh-time'],
'client': ['--help', '--host', '--port-grpc', '--max-message-size', '--proxy', '--batch-size', '--mode',
'--top-k', '--input-type', '--mime-type', '--callback-on-body', '--first-request-id',
'--first-doc-id', '--random-doc-id', '--timeout-ready'],
'export-api': ['--help', '--yaml-path', '--json-path']}}
'--top-k', '--mime-type', '--callback-on-body', '--first-request-id', '--first-doc-id',
'--random-doc-id', '--timeout-ready'], 'export-api': ['--help', '--yaml-path', '--json-path']}}
18 changes: 9 additions & 9 deletions jina/proto/jina_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8c04c14

Please sign in to comment.