Created
June 26, 2014 12:06
-
-
Save tombh/60c8a4e463d22a06d326 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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