Skip to content

fix: normalize hyphenated project slugs during init - #366

Open
wzj1228516103 wants to merge 1 commit into
agentstack-ai:mainfrom
wzj1228516103:codex/agentstack-352-normalize-project-slug
Open

wzj1228516103 wants to merge 1 commit into
agentstack-ai:mainfrom
wzj1228516103:codex/agentstack-352-normalize-project-slug

Conversation

@wzj1228516103

Copy link
Copy Markdown

Summary

Fix project initialization when the requested project name contains hyphens.

The CLI now normalizes the project slug before setting the project path, keeping the filesystem path aligned with the slug used by Cookiecutter.

Tests

  • TEST_FRAMEWORK=crewai uv run --with pytest --with parameterized pytest tests/test_cli_init.py::CLIInitTest::test_init_command_normalizes_hyphenated_project_name tests/test_utils.py -q
  • git diff --check

Closes #352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: creating a project with - fails

1 participant