From a647142ff0218d21e33dd6b0b95eb285e466499e Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 26 Jan 2015 01:10:23 -0500 Subject: [PATCH] A little code.go explanation --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2e836cd..60c1324 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,13 @@ Various scripts and programs for the tildeverse. ## tildelog Use **tildelog** to easily create a simple log for your tilde. + +## code +Use **code** to generate a list of files contained within a given directory under their home folder. This was originally made to see who had a **Code** directory (this is the default), but you can specify whatever common directory you'd like to find. Do this: + +```bash +go build code.go +./code -d bin +``` + +This outputs an HTML file in your `public_html/` folder based on the _templates/code.html_ template. The HTML file will be named after whatever directory you're scanning, so in this example, it'd be `public_html/bin.html`.