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: charmil init command #170
Conversation
@wtrocki can I transfer this repo https://github.com/ankithans/charmil-starter-template to aerogear? |
} | ||
|
||
// ignore folders | ||
ignoreSlice := []string{".git", ".github", ".chglog", ".goreleaser.yml", "CONTRIBUTING.md", "bin"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we have this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to ignore these folders, while applying template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I get it but... why? Those are useful files that are part of starter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't have any templates defined in these folders and some of these were creating some error while applying templates. So I had to do this.
no need to walk through the files with no templates.
But these will be generated untouched as it is.
@ankithans I'm getting a ./charmil init
GitHub Organization or Username: namit-chandwani
GitHub Repo Name: trial-cli
CLI Name: trial
repository already exists Am I running this correctly? |
okay got it, this works if .git doesn't exist. Will fix it. |
Closes #164 #165
Tasks
Charmil init command will clone the starter repo and set it up according to details provided by the user.
Type of change