Skip to content

Instantly share code, notes, and snippets.

@maxpowa
Created June 28, 2016 21:40
Show Gist options
  • Save maxpowa/d8184f91e0b96d92c937c5d83fdaeb97 to your computer and use it in GitHub Desktop.
Save maxpowa/d8184f91e0b96d92c937c5d83fdaeb97 to your computer and use it in GitHub Desktop.
require "../flag.cr"
class OppositeFlag < Blerp::CommandFlag
@key = "-O"
@description = "OPPOSITE DAY"
def preprocess(parser, data)
data[self.name] = "true"
end
end
OppositeFlag.new :opposite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment