Skip to content

Instantly share code, notes, and snippets.

@tombh
Created June 26, 2014 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tombh/60c8a4e463d22a06d326 to your computer and use it in GitHub Desktop.
Save tombh/60c8a4e463d22a06d326 to your computer and use it in GitHub Desktop.
desc 'Add, remove and list config for an app'
command :config do |c|
c.desc 'Delete config by keys'
c.command :rm do |sc|
sc.action do |global_options, options, args|
@api.request :delete, "/app/#{Git.first_sha}/config", {
keys: args.to_json
}
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment