Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-create category for features #15

Closed
nerdsRob opened this issue Jun 16, 2014 · 0 comments
Closed

Auto-create category for features #15

nerdsRob opened this issue Jun 16, 2014 · 0 comments
Assignees
Milestone

Comments

@nerdsRob
Copy link
Collaborator

Add a binary with usageflip-the-switch category.

This call auto-generates a FlipTheSwitch+Features.{h,m} files for enabled/disabled features such as:

/* AUTO-GENERATED. DO NOT ALTER */

@interface FlipTheSwitch (Features)
+ (BOOL)isAmazingThingEnabled;
+ (void)enableAmazingThing;
+ (void)disableAmazingThing;
+ (void)setAmazingThingEnabled:(BOOL)enabled;
@end

By default, this should read a yaml file (if exists) at the current location, and generate the FlipTheSwitch+Features.{h,m} files from it.
Extra options are:

  • input specifies the location directory of the features.yml file to read
  • output specifies the location directory of the FlipTheSwitch+Features.{h,m} files to create
  • enabled specifies extra features to be set as enabled
  • disabled specifies extra features to be set as disabled
@nerdsRob nerdsRob added this to the 0.3.0 milestone Jun 16, 2014
@nerdsRob nerdsRob self-assigned this Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants