News for hackers. Stuff that matters.
Re:Show HN: Thaum, a simple boilerplate and templating comma... by flaque on Wednesday February 01, 2017 @06:27PM (#13546496)
In response to the advice I got here: https://news.ycombinator.com/item?id=13546201#

The project is in a usable state right now, but I'm currently working on autocomplete for templates, listing templates, "undo"ing actions if you've messed up. If you think I should work on other things, let me know!

Re:Show HN: Thaum, a simple boilerplate and templating comma... by Flammy on Wednesday February 01, 2017 @07:11PM (#13546782)
A small bit of advice:

In the future, make sure your title actually says what your tool does. Perhaps I'm not familiar with the term, but "boilerplating" doesn't shout "command line interface" to me.

> Thaum is a simple boilerplate and templating command line utility.

would be a great title.

Re:Show HN: Thaum, a simple boilerplate and templating comma... by flaque on Wednesday February 01, 2017 @07:20PM (#13546838)
Ah, thanks! :D What about "code-generation"? Would that work better?
Re:Show HN: Thaum, a simple boilerplate and templating comma... by richardboegli on Wednesday February 01, 2017 @08:48PM (#13547355)
boilerplate is fine. It just needed to mention CLI.
Re:Show HN: Thaum, a simple boilerplate and templating comma... by corobo on Thursday February 02, 2017 @05:35AM (#13549522)
> $ sudo chmod -R 755 /usr/local/bin

I can't see any downside at a glance but err on the side of caution. Don't make assumptions about someone else's device.

Others please correct me if I'm mistaken but a better one would be

  chmod +x /usr/local/bin/thaum
Re:Show HN: Thaum, a simple boilerplate and templating comma... by flaque on Thursday February 02, 2017 @11:04AM (#13551482)
I believe you are correct, I changed the install to `&&` on `chmod +x /usr/local/bin/thaum`.
Re:Show HN: Thaum, a simple boilerplate and templating comma... by nevon on Thursday February 02, 2017 @02:45AM (#13548847)
Exactly this already exists. It's called Cookiecutter: https://github.com/audreyr/cookiecutter
Re:Show HN: Thaum, a simple boilerplate and templating comma... by proaralyst on Wednesday February 01, 2017 @07:11PM (#13546785)
I'm not entirely clear on what this tool does. Could you tell me some more about it?
Re:Show HN: Thaum, a simple boilerplate and templating comma... by flaque on Wednesday February 01, 2017 @07:21PM (#13546849)
It's a code scaffolding tool like Yeoman or Plop but without the overhead of writing a large template script to accompany it.
Re:Show HN: Thaum, a simple boilerplate and templating comma... by halwa on Wednesday February 01, 2017 @10:07PM (#13547758)
Off topic, but is the name perchance inspired by a unit of energy from a certain fantasy fiction trilogy?
Re:Show HN: Thaum, a simple boilerplate and templating comma... by flaque on Wednesday February 01, 2017 @10:41PM (#13547912)
Yeah, of course. "Smallest unit of magic" = "Small snippets of code-generation".
Re:Show HN: Thaum, a simple boilerplate and templating comma... by tym0 on Thursday February 02, 2017 @04:27AM (#13549232)
Is the only variable you can pass the name of the project?
Re:Show HN: Thaum, a simple boilerplate and templating comma... by flaque on Friday February 03, 2017 @11:38PM (#13565665)
Not anymore!