Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support initializing project in current directory with './' #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

echosoar
Copy link
Owner

@echosoar echosoar commented Jun 14, 2024

Related to #36

Enhances the dev init command to explicitly support initializing projects in the current directory when the directory name is input as './'.

  • Code adjustments in packages/dev/src/init.ts:

    • Updates the prompt message to guide users on using './' to initialize the project in the current directory.
    • Implements explicit handling for './' input, setting the project directory to the current working directory without joining it with any additional path.
    • Maintains existing functionality for other directory inputs, ensuring backward compatibility.
  • Documentation updates in README.md:

    • Adds instructions under the init command section, explaining how to use './' for initializing projects in the current directory. This provides clear guidance for users on the new feature.

For more details, open the Copilot Workspace session.

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.

None yet

1 participant