Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Default in the Enum! and Command! macros
For the transition to structopt, we have to be able to easily construct enum variants once we have added fields to them. Therefore we implement the Default trait in the generated macros by choosing the first variant as the default.
- Loading branch information