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

required description #3

Closed
michalkahle opened this issue Dec 6, 2018 · 4 comments
Closed

required description #3

michalkahle opened this issue Dec 6, 2018 · 4 comments

Comments

@michalkahle
Copy link

Please consider making description optional.

@armsp
Copy link
Owner

armsp commented Dec 7, 2018

Hi @michalkahle thanks for checking it out. I understand that GitHub doesn't force you to write descriptions to gists. I however believe that in light of self documentation by those who are creating gists themselves as well as getting a reasonable and understandable output when you run gifc get x, having a description would save a lot of time and effort. There are other issues that I'd like to fix first. Maybe I will add it in the end of the queue.
Cheers!

@michalkahle
Copy link
Author

michalkahle commented Dec 7, 2018 via email

@armsp
Copy link
Owner

armsp commented Dec 7, 2018

Sure, I will see if i want to make it optional. If i do i will close this thread from the commit itself otherwise i will keep it open.

@armsp
Copy link
Owner

armsp commented Dec 8, 2018

I have decided not to support that in the code as it would be source of pain and will cause a lot of searching for code snippet by those who created that gist.
HOWEVER, if you are hell bent on NOT giving a description, its equivalent to passing an empty string, so you can use it as follows -
gifc create dummy.md -d "" -m "This is how you can create gists without a description"
Close #3

@armsp armsp closed this as completed Dec 8, 2018
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

No branches or pull requests

2 participants