Skip to content

💫 Toolkit to help you get started with SDD or any other process!

Update config

Den Delimarsky 🌺c29e419b4f32
diff --git a/scripts/bash/setup-plan.sh b/scripts/bash/setup-plan.sh
index 67609238e..1da426573 100644
--- a/scripts/bash/setup-plan.sh
+++ b/scripts/bash/setup-plan.sh
@@ -7,7 +7,7 @@ source "$SCRIPT_DIR/common.sh"
eval $(get_feature_paths)
check_feature_branch "$CURRENT_BRANCH" || exit 1
mkdir -p "$FEATURE_DIR"
-TEMPLATE="$REPO_ROOT/templates/plan-template.md"
+TEMPLATE="$REPO_ROOT/.specify/templates/plan-template.md"
[[ -f "$TEMPLATE" ]] && cp "$TEMPLATE" "$IMPL_PLAN"
if $JSON_MODE; then
printf '{"FEATURE_SPEC":"%s","IMPL_PLAN":"%s","SPECS_DIR":"%s","BRANCH":"%s"}\n' \
diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py
index f4a786b63..b317038ad 100644
--- a/src/specify_cli/__init__.py
+++ b/src/specify_cli/__init__.py
@@ -894,12 +894,14 @@ def init(
tracker.error("final", str(e))
console.print(Panel(f"Initialization failed: {e}", title="Failure", border_style="red"))
if debug:
- env_info = [
- f"Python: {sys.version.split()[0]}",
- f"Platform: {sys.platform}",
- f"CWD: {Path.cwd()}",
+ _env_pairs = [
+ ("Python", sys.version.split()[0]),
+ ("Platform", sys.platform),
+ ("CWD", str(Path.cwd())),
]
- console.print(Panel("\n".join(env_info), title="Debug Environment", border_style="magenta"))
+ _label_width = max(len(k) for k, _ in _env_pairs)
+ env_lines = [f"{k.ljust(_label_width)} → [bright_black]{v}[/bright_black]" for k, v in _env_pairs]
+ console.print(Panel("\n".join(env_lines), title="Debug Environment", border_style="magenta"))
if not here and project_path.exists():
shutil.rmtree(project_path)
raise typer.Exit(1)