-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sweep: Support file types from CLI args #5
Comments
Here's the PR! #11.⚡ Sweep Free Trial: I'm creating this ticket using GPT-4. You have 1 GPT-4 tickets left for the month and 3 for the day. For more GPT-4 tickets, visit our payment portal.
Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 70 in afb95bf
Lines 1 to 56 in afb95bf
Lines 1 to 72 in afb95bf
Lines 1 to 45 in afb95bf
Step 2: ⌨️ Coding
• Import the consola library at the top of the file.
• Add consola to the list of dependencies. This will allow the tool to use consola for prompting the user for input. Step 3: 🔁 Code ReviewHere are my self-reviews of my changes at Here is the 1st review Great job on implementing the changes in the `src/index.ts` file. The consola library is correctly imported and used to prompt the user for the file types they want to check. I finished incorporating these changes. 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. |
Details
There is a TODO on index.ts
Let's implement to support file types from CLI.
Ignore the cli/index.js. That's build file.
Let's use an prompt tool like consola to add logger and let use choose file type or enter project name. Here is an example from consola project.
Checklist
src/index.ts
✅ Commit957cb84
package.json
The text was updated successfully, but these errors were encountered: