comfygit 0.3.1__py3-none-any.whl → 0.3.2__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.
- {comfygit-0.3.1.dist-info → comfygit-0.3.2.dist-info}/METADATA +2 -2
- {comfygit-0.3.1.dist-info → comfygit-0.3.2.dist-info}/RECORD +7 -7
- comfygit_cli/cli.py +5 -0
- comfygit_cli/global_commands.py +13 -9
- {comfygit-0.3.1.dist-info → comfygit-0.3.2.dist-info}/WHEEL +0 -0
- {comfygit-0.3.1.dist-info → comfygit-0.3.2.dist-info}/entry_points.txt +0 -0
- {comfygit-0.3.1.dist-info → comfygit-0.3.2.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comfygit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: ComfyGit - Git-based environment management for ComfyUI
|
|
5
5
|
License-File: LICENSE.txt
|
|
6
6
|
Requires-Python: >=3.10
|
|
7
7
|
Requires-Dist: argcomplete>=3.5.0
|
|
8
|
-
Requires-Dist: comfygit-core>=0.3.
|
|
8
|
+
Requires-Dist: comfygit-core>=0.3.2
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
|
|
11
11
|
# ComfyGit CLI
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
comfygit_cli/__init__.py,sha256=5sMOWsFf9rbB3KXbLkO7t4j3ulg4qIGJq8E1-vBTl2Q,285
|
|
2
2
|
comfygit_cli/__main__.py,sha256=z_vOyb9BrabxD2itKn21Y-mNMHtOt2F1613Jrp0GenE,107
|
|
3
|
-
comfygit_cli/cli.py,sha256=
|
|
3
|
+
comfygit_cli/cli.py,sha256=6p9F8GkvnFaQ42QH1S-U552Vo1zzPCYV3DNDdzxMlW4,35038
|
|
4
4
|
comfygit_cli/cli_utils.py,sha256=eief6tK7pWZXc0X8Ngq2qYH7pC1kjAseNS52u_15hj8,1080
|
|
5
5
|
comfygit_cli/completers.py,sha256=x8g09UZT0Rgo3PwU7qFfKHO4lJZNG-ZW82dHXXgubuk,7034
|
|
6
6
|
comfygit_cli/completion_commands.py,sha256=gySLy1Xhs13ZNWsChXqFjUJP8mv-NQ0IVa8p-R_nti0,9013
|
|
7
7
|
comfygit_cli/env_commands.py,sha256=57Ls1itdY7FSQ6cN96GwmehLvrI3or9CAXrIWDyHAxU,115645
|
|
8
|
-
comfygit_cli/global_commands.py,sha256=
|
|
8
|
+
comfygit_cli/global_commands.py,sha256=LmtFvI7pBU2GU6ukNNh8uBCV8BZE8MN-wss5rWQRb9c,73689
|
|
9
9
|
comfygit_cli/resolution_strategies.py,sha256=zFz8nhbM3KdXRC0Qd5qILyhd9xlGc3iFnF4VhWZc9jU,2914
|
|
10
10
|
comfygit_cli/formatters/__init__.py,sha256=5S5f0jG2DiRfnGp90n3mvst47KYs6NXxhqN5RO3bGoU,108
|
|
11
11
|
comfygit_cli/formatters/error_formatter.py,sha256=Ipv1iLxvSv9bTBE00OaayL9-7J0s7-EWcMWX3tZ-SP8,4976
|
|
@@ -23,8 +23,8 @@ comfygit_cli/utils/civitai_errors.py,sha256=Cxpb0kB_-Et2LqSIe14W2TACwDMZSwZUYhpG
|
|
|
23
23
|
comfygit_cli/utils/orchestrator.py,sha256=jHNA8s5iHMDFhB2adD-eb2A20Ppr0TOu9735pTlpd48,6876
|
|
24
24
|
comfygit_cli/utils/pagination.py,sha256=NqUke1caumZdaE0TonDVZztlYxLwpbXPn7KzTYOwjs0,2320
|
|
25
25
|
comfygit_cli/utils/progress.py,sha256=8l3Wa6ISSFS_nvMfdjPVJn-A5rxf8dBRGdMJayyKvso,4794
|
|
26
|
-
comfygit-0.3.
|
|
27
|
-
comfygit-0.3.
|
|
28
|
-
comfygit-0.3.
|
|
29
|
-
comfygit-0.3.
|
|
30
|
-
comfygit-0.3.
|
|
26
|
+
comfygit-0.3.2.dist-info/METADATA,sha256=V6IvZUYGlgUfUO6qt6AG_9kSNEHiQjqkLbwKDN7ai5w,16704
|
|
27
|
+
comfygit-0.3.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
28
|
+
comfygit-0.3.2.dist-info/entry_points.txt,sha256=ZZ4JQRhf6kxfb6qdBXWQi8UyNK9NArY_mlK5Jh0V4pc,78
|
|
29
|
+
comfygit-0.3.2.dist-info/licenses/LICENSE.txt,sha256=ILBn-G3jdarm2w8oOrLmXeJNU3czuJvVhDLBASWdhM8,34522
|
|
30
|
+
comfygit-0.3.2.dist-info/RECORD,,
|
comfygit_cli/cli.py
CHANGED
|
@@ -186,6 +186,11 @@ def _add_global_commands(subparsers: argparse._SubParsersAction) -> None:
|
|
|
186
186
|
),
|
|
187
187
|
)
|
|
188
188
|
import_parser.add_argument("--use", action="store_true", help="Set imported environment as active")
|
|
189
|
+
import_parser.add_argument(
|
|
190
|
+
"--models",
|
|
191
|
+
choices=["all", "required", "skip"],
|
|
192
|
+
help="Model download strategy: all (default with --yes), required only, or skip"
|
|
193
|
+
)
|
|
189
194
|
import_parser.add_argument("-y", "--yes", action="store_true", help="Skip confirmation prompts, use defaults for workspace initialization")
|
|
190
195
|
import_parser.set_defaults(func=global_cmds.import_env)
|
|
191
196
|
|
comfygit_cli/global_commands.py
CHANGED
|
@@ -531,15 +531,19 @@ class GlobalCommands:
|
|
|
531
531
|
print("✗ Environment name required")
|
|
532
532
|
sys.exit(1)
|
|
533
533
|
|
|
534
|
-
#
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
534
|
+
# Determine model download strategy
|
|
535
|
+
if hasattr(args, 'models') and args.models:
|
|
536
|
+
strategy = args.models
|
|
537
|
+
elif hasattr(args, 'yes') and args.yes:
|
|
538
|
+
strategy = "all" # Default to 'all' in non-interactive mode
|
|
539
|
+
else:
|
|
540
|
+
print("\nModel download strategy:")
|
|
541
|
+
print(" 1. all - Download all models with sources")
|
|
542
|
+
print(" 2. required - Download only required models")
|
|
543
|
+
print(" 3. skip - Skip all downloads (can resolve later)")
|
|
544
|
+
strategy_choice = input("Choice (1-3) [1]: ").strip() or "1"
|
|
545
|
+
strategy_map = {"1": "all", "2": "required", "3": "skip"}
|
|
546
|
+
strategy = strategy_map.get(strategy_choice, "all")
|
|
543
547
|
|
|
544
548
|
# CLI callbacks for progress updates
|
|
545
549
|
class CLIImportCallbacks(ImportCallbacks):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|