nia-sync 0.1.8__py3-none-any.whl → 0.1.9__py3-none-any.whl

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.
main.py CHANGED
@@ -501,12 +501,11 @@ def search(
501
501
  if not is_authenticated():
502
502
  error("Not logged in. Run [cyan]nia login[/cyan] first.")
503
503
  raise typer.Exit(1)
504
- if stream and json_output:
505
- error("--stream cannot be used with --json")
506
- raise typer.Exit(1)
507
- if markdown and json_output:
508
- error("--markdown cannot be used with --json")
509
- raise typer.Exit(1)
504
+
505
+ # Auto-disable stream and markdown when JSON output is requested
506
+ if json_output:
507
+ stream = False
508
+ markdown = False
510
509
 
511
510
  resolved_local_folders: list[str] = []
512
511
  if local_folder:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nia-sync
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Keep your local files in sync with Nia Cloud
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: typer>=0.9.0
@@ -2,12 +2,12 @@ api_client.py,sha256=wg3oRixlyzR_GmJDrmpVemJb0GI1ixd7UceSyHBR52s,2712
2
2
  auth.py,sha256=-DeD3azCHlqqI7zySKEhsxeeT8kJYsfzpuqAsGKyA1s,5720
3
3
  config.py,sha256=_zeDLBggazFGlR1LUitMNTiMpqHMxZBfcUJ-C6tXgdY,7233
4
4
  extractor.py,sha256=KhLTRJQAgbsZ_qqXzBjU5Qh2R83r2vmNMF-bB4Pzbqw,30279
5
- main.py,sha256=owUa1k_f3BWlARv7erfxhhvl-aIHWbjTPhD0Ln3T9sc,52672
5
+ main.py,sha256=vfQxIyI8AvjMnhGKL5lPqD3KYZ6lL9TZv74xSeOPdoA,52586
6
6
  sync.py,sha256=gHxA0pn2_I7habRwWJ33tSit0aRDxEZHA2Gdyt6Fe20,12859
7
7
  ui.py,sha256=yxlRz2VIkiaMTzV95QhsV3Uojt3Ns6_QXLCSlUWJPr0,3456
8
8
  watcher.py,sha256=JmsN9uR7Ss1mDC-kApXL6Hg_wQZWTsO7rRIFkQu8GbM,9978
9
- nia_sync-0.1.8.dist-info/METADATA,sha256=Phtagx-S9wDy-ARK6C3ZkN-NPlgjoSe3V_R5qKk5hMo,246
10
- nia_sync-0.1.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
11
- nia_sync-0.1.8.dist-info/entry_points.txt,sha256=Fx8TIOgXqWdZzZEkEateDtcNfgnwuPW4jZTqlEUrHVs,33
12
- nia_sync-0.1.8.dist-info/top_level.txt,sha256=nHlEpqudkMdi7d4wpt_qUI-vjVay1X5CaB6foOQ85Dg,54
13
- nia_sync-0.1.8.dist-info/RECORD,,
9
+ nia_sync-0.1.9.dist-info/METADATA,sha256=Ub1kMUUVEYYowAxgwTTbiOu2ddTr38JnfXWkaIHZwKM,246
10
+ nia_sync-0.1.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
11
+ nia_sync-0.1.9.dist-info/entry_points.txt,sha256=Fx8TIOgXqWdZzZEkEateDtcNfgnwuPW4jZTqlEUrHVs,33
12
+ nia_sync-0.1.9.dist-info/top_level.txt,sha256=nHlEpqudkMdi7d4wpt_qUI-vjVay1X5CaB6foOQ85Dg,54
13
+ nia_sync-0.1.9.dist-info/RECORD,,