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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: phable-cli
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Manage Phabricator tasks from the comfort of your terminal
5
5
  License: MIT
6
6
  Author: Balthazar Rouberol
@@ -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 show():
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",
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "phable-cli"
3
- version = "0.1.7"
3
+ version = "0.1.8"
4
4
  description = "Manage Phabricator tasks from the comfort of your terminal"
5
5
  authors = ["Balthazar Rouberol <br@imap.cc>"]
6
6
  license = "MIT"
File without changes
File without changes