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

make a single file option #38

Closed
bit101 opened this issue Mar 26, 2018 · 2 comments
Closed

make a single file option #38

bit101 opened this issue Mar 26, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@bit101
Copy link
Owner

bit101 commented Mar 26, 2018

idea: sometimes you just want to add a single file to a project. maybe a common make file, package.json, .gitignore, license file, etc.

in addition to templates, there could be a files directory. this would just contain a bunch of files.

tinpig -s or tinpig --single would display a list of these files - just the file names. choose one and it's copied to the current directory. no token replacement, no path selection, no manifests.

tinpig -s filename or tinpig --single filename should work as well, with or without the extension. if it finds the file it copies it directly. if not, it opens the list. example:

tinpig -s .gitignore

and you're done.

@bit101 bit101 added the enhancement New feature or request label Mar 26, 2018
@bit101 bit101 self-assigned this Mar 26, 2018
@bit101 bit101 added this to Ideas in future ideas via automation Mar 26, 2018
@bit101
Copy link
Owner Author

bit101 commented Mar 26, 2018

would need to prioritize arguments, what if someone types tinpig -p foo -t HTML -s .gitignore ?
which one wins?
do both?
display error?

@bit101 bit101 removed this from Ideas in future ideas Mar 30, 2018
@bit101
Copy link
Owner Author

bit101 commented Mar 30, 2018

closing now. made another note for later.

@bit101 bit101 closed this as completed Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant