mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-27 15:28:30 +01:00
completion: decouple completion related stuff from command
It also now uses the main parser itself that invokes the command rather than creating a new parser object.
This commit is contained in:
committed by
Saugat Pachhai
parent
5c1e7be909
commit
cc8a0ce134
@@ -32,6 +32,7 @@ def parse_args(argv=None):
|
||||
|
||||
parser = get_main_parser()
|
||||
args = parser.parse_args(argv)
|
||||
args.parser = parser
|
||||
return args
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user