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

feat(create-discord-bot): github repository import template #9812

Open
filename24 opened this issue Aug 31, 2023 · 4 comments
Open

feat(create-discord-bot): github repository import template #9812

filename24 opened this issue Aug 31, 2023 · 4 comments

Comments

@filename24
Copy link

Which application or package is this feature request for?

create-discord-bot

Feature

Creating a template using a GitHub repository

Ideal solution or implementation

I think we can provide a function that first checks if the GitHub repository is found, and then downloads and renames the repository.

Alternative solutions or implementations

No response

Other context

No response

@Jiralite
Copy link
Member

Jiralite commented Aug 31, 2023

This seems like a fundamental Git query accomplished with git clone [email protected]:filename24/filename24.git renamed for example, no?

@filename24
Copy link
Author

This seems like a fundamental Git query accomplished with git clone [email protected]:filename24/filename24.git renamed for example, no?

Yes, that's right, but if you look at the code, you're doing a git clone using the [REPLACE_ME] name in the package.json.

@Jiralite
Copy link
Member

Jiralite commented Sep 1, 2023

I'm struggling to understand now. Isn't the solution to that to follow the respective repository's instructions?

@filename24
Copy link
Author

If you're going to write a template, you're most likely going to write a git clone. But if you're going to do a create-discord-bot, why not build something that installs the module, automatically removes the cloned .git fullder, and automatically does a git init, for example create-discord-bot hellobot --example https://github.com?

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

No branches or pull requests

2 participants