gitdocs icon indicating copy to clipboard operation
gitdocs copied to clipboard

GitDocs `add` command

Open zsherman opened this issue 7 years ago • 2 comments

While working on porting some docs, I noticed this would be helpful. I'd like to be able to run something like gitdocs add node/http and automatically have a file generated at that route for me, pre-filled with appropriate front matter.

zsherman avatar May 05 '18 15:05 zsherman

What would the default front matter be? Don't know if there would be any. Might make sense to just add one line with the file basename as a title. e.g. gitdocs add node/http ==> # http

jsonmaur avatar May 06 '18 04:05 jsonmaur

That works for me.

zsherman avatar May 06 '18 14:05 zsherman