mirror of
https://github.com/thebaer/tildes.git
synced 2018-07-20 07:15:21 +00:00
A little code.go explanation
This commit is contained in:
parent
3ce4b0bf23
commit
a647142ff0
10
README.md
10
README.md
@ -5,3 +5,13 @@ Various scripts and programs for the tildeverse.
|
|||||||
|
|
||||||
## tildelog
|
## tildelog
|
||||||
Use **tildelog** to easily create a simple log for your tilde.
|
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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user