tobami / littlechef

Cook with Chef without a Chef Server
Apache License 2.0
472 stars 71 forks source link

fix command: compile the list of commands shown as part of the --help output dynamically instead of using a hard-coded text #176

Closed thekorn closed 10 years ago

thekorn commented 10 years ago

This was hardcoded as part of the quick argparse fix. This branch creates a kind of mocked string objected. The actual content of the string is only created if it is needed the first time. Kind of hacky, but works - and seems to me the only possible solution