mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-12 23:10:11 +01:00
dvc: add basic 'dvc status'
(dvc) ➜ myrepo git:(master) ✗ dvc status
foo.dvc
outs
changed: foo
foo2.dvc
outs
changed: foo2
deps
changed: foo1
foo1.dvc
outs
changed: foo1
deps
changed: foo
(dvc) ➜ myrepo git:(master) ✗ dvc status --cloud
new: c1/57a79031e1c40f85931829bc5fc552
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+6
-1
@@ -163,7 +163,12 @@ def parse_args(argv=None):
|
||||
status_parser = subparsers.add_parser(
|
||||
'status',
|
||||
parents=[parent_cache_parser],
|
||||
help='Show mismatches between local cache and cloud cache')
|
||||
help='Show the project status')
|
||||
status_parser.add_argument('-c',
|
||||
'--cloud',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Show status of a local cache compared to a cloud')
|
||||
status_parser.set_defaults(func=CmdDataStatus)
|
||||
|
||||
# Repro
|
||||
|
||||
Reference in New Issue
Block a user