README.md in cocoapods-keys-2.0.6 vs README.md in cocoapods-keys-2.0.7
- old
+ new
@@ -40,27 +40,27 @@
## Alternative Usage
You can save keys on a per-project basis by running the command:
- $ pod keys set KEY VALUE
+ $ bundle exec pod keys set KEY VALUE
You can list all known keys by running:
- $ pod keys
+ $ bundle exec pod keys
For example:
``` sh
$ cd MyApplication
- $ pod keys set "NetworkAPIToken" "AH2ZMiraGQbyUd9GkNTNfWEdxlwXcmHciEOH"
+ $ bundle exec pod keys set "NetworkAPIToken" "AH2ZMiraGQbyUd9GkNTNfWEdxlwXcmHciEOH"
Saved NetworkAPIToken to MyApplication.
- $ pod keys set "AnalyticsToken" "6TYKGVCn7sBSBFpwfSUCclzDoSBtEXw7"
+ $ bundle exec pod keys set "AnalyticsToken" "6TYKGVCn7sBSBFpwfSUCclzDoSBtEXw7"
Saved AnalyticsToken to MyApplication.
- $ pod keys
+ $ bundle exec pod keys
Keys for MyApplication
├ NetworkAPIToken - AH2ZMiraGQbyUd9GkNTNfWEdxlwXcmHciEOH
└ AnalyticsToken - 6TYKGVCn7sBSBFpwfSUCclzDoSBtEXw7
GIFs - /Users/orta/dev/mac/GIFs
@@ -93,19 +93,19 @@
#### Other commands
CocoaPods-keys has 3 other commands:
- * `pod keys get [key] [optional project]`
+ * `bundle exec pod keys get [key] [optional project]`
Which will output the value of the key to STDOUT, useful for scripting.
- * `pod keys rm [key] [optional project]`
- Will remove a key from a project.
+ * `bundle exec pod keys rm [key] [optional project]`
+ Will remove a key from a project.
- If Wildcards are included, it will remove the keys matching the pattern. E.g.: `pod keys rm "G*og*"` will remove *all* the keys that begin with 'G', have 'og' in the middle and end with anything.
- To nuke all the keys, run either `pod keys rm "*"` or `pod keys rm --all`
+ If Wildcards are included, it will remove the keys matching the pattern. E.g.: `bundle exec pod keys rm "G*og*"` will remove *all* the keys that begin with 'G', have 'og' in the middle and end with anything.
+ To nuke all the keys, run either `bundle exec pod keys rm "*"` or `bundle exec pod keys rm --all`
- * `pod keys generate [optional project]`
+ * `bundle exec pod keys generate [optional project]`
Will generate the obfuscated Objective-C keys class (mainly used internally).
#### Continuous Integration
It's rarely a good idea to mess around with the keychain in your CI, so keys will look for an environment var with the same string before looking in the keychain. Also you could create a `.env` file in your project folder.