phable-cli 0.1.7__tar.gz → 0.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {phable_cli-0.1.7 → phable_cli-0.1.8}/PKG-INFO +1 -1
- {phable_cli-0.1.7 → phable_cli-0.1.8}/phable_cli/cli.py +14 -3
- {phable_cli-0.1.7 → phable_cli-0.1.8}/pyproject.toml +1 -1
- {phable_cli-0.1.7 → phable_cli-0.1.8}/LICENSE +0 -0
- {phable_cli-0.1.7 → phable_cli-0.1.8}/README.md +0 -0
- {phable_cli-0.1.7 → phable_cli-0.1.8}/phable_cli/cache.py +0 -0
- {phable_cli-0.1.7 → phable_cli-0.1.8}/phable_cli/config.py +0 -0
- {phable_cli-0.1.7 → phable_cli-0.1.8}/phable_cli/phabricator.py +0 -0
- {phable_cli-0.1.7 → phable_cli-0.1.8}/phable_cli/utils.py +0 -0
|
@@ -78,7 +78,12 @@ def _cache():
|
|
|
78
78
|
"""Manage internal cache"""
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
@cli.group
|
|
81
|
+
@cli.group(name="config")
|
|
82
|
+
def _config():
|
|
83
|
+
"""Manage phable config"""
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
@_config.group
|
|
82
87
|
def aliases():
|
|
83
88
|
"""Manage aliases"""
|
|
84
89
|
|
|
@@ -420,8 +425,8 @@ def subscribe_to_task(ctx, task_ids: list[int]):
|
|
|
420
425
|
client.add_user_to_task_subscribers(task_id=task_id, user_phid=user["phid"])
|
|
421
426
|
|
|
422
427
|
|
|
423
|
-
@_cache.command()
|
|
424
|
-
def
|
|
428
|
+
@_cache.command(name="show")
|
|
429
|
+
def show_cache():
|
|
425
430
|
"""Display the location of the internal phable cache"""
|
|
426
431
|
click.echo(cache.cache_filepath)
|
|
427
432
|
|
|
@@ -433,6 +438,12 @@ def clear():
|
|
|
433
438
|
atexit.unregister(cache.dump) # avoid re-dumping the in-memory cache back to disk
|
|
434
439
|
|
|
435
440
|
|
|
441
|
+
@_config.command(name="show")
|
|
442
|
+
def show_config():
|
|
443
|
+
"""Display the location of the phable config"""
|
|
444
|
+
click.echo(config.filepath)
|
|
445
|
+
|
|
446
|
+
|
|
436
447
|
@cli.command(name="report-done-tasks")
|
|
437
448
|
@click.option(
|
|
438
449
|
"--milestone/--no-milestone",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|