implement argparse and support overriding the skeleton with a filesystem... #44

Merged
merged 5 commits into from Mar 22, 2013

Projects

None yet

2 participants

@JoeGermuska

... dir or tarball (re #43)

It wouldn't be that hard to add something to grab from a URL like Django does, and to support zip files as well as tarballs, if there's interest...

@koenbok

This is a great idea that I wanted to do for some time. Give me some time to look at the diff.

@koenbok
  1. Styling: could you make sure we do foo,[space]bar everywhere?
  2. Why do we need the wsgiref added to requirements?

re 1) i'll update the pull request in a minute with a pass that tries to find all of those...
re 2) wsgiref is a dependency of boto, and I made requirements.txt with 'pip freeze' which is completist. We can take it out; it'll get installed anyway with boto.

@JoeGermuska

ok, i think i fixed those issues, and added some more sugar as well. I think I've tested each case (no arg, local dir, local zip, local tar, url zip, and url tar) but it wouldn't hurt for someone else to do it too...

@JoeGermuska

FWIW, a friend pointed me to Middleman's method for handling diverse templates. There's a bit of an appeal to the shorter form of the argument and the idea that they are listable... might be a thought for a future iteration?

http://middlemanapp.com/getting-started/#toc_6

@koenbok

Yeah I wanted that too. I think just a hosted file with handle, description and github repo would be pretty ideal.

@koenbok koenbok merged commit 89d6b06 into eudicots:master Mar 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment