https://github.com/kuniwak/userdefaults-ctl
Show/Edit/Seatch a file for your UserDefaults
https://github.com/kuniwak/userdefaults-ctl
ios tool
Last synced: 11 months ago
JSON representation
Show/Edit/Seatch a file for your UserDefaults
- Host: GitHub
- URL: https://github.com/kuniwak/userdefaults-ctl
- Owner: Kuniwak
- License: mit
- Created: 2017-02-14T09:28:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T10:11:51.000Z (over 9 years ago)
- Last Synced: 2025-04-05T23:41:06.048Z (about 1 year ago)
- Topics: ios, tool
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
UserDefaults Utility
====================
Show/edit/search a file for your UserDefaults.
Usage
-----
```console
$ userdefaults-ctl path com.example.app
/Absolute/path/to/.../Preferences/com.example.app.plist
```
```console
$ userdefaults-ctl show com.example.app
...
```
```console
$ userdefaults-ctl edit com.example.app
# Changes
--- com.example.app.plist 2017-02-14 ...
+++ com.example.app.plist.XXXXXX 2017-02-14 ...
@@ -10,7 +10,5 @@
WebKitShrinksStandaloneImagesTo ...
- hogehoge
-
# Validation
Syntax: VALID
```
```console
$ userdefaults-ctl help
usage: userdefaults-ctl
These are available commands:
path Print a path for the UserDefaults of the booted device
show Print a content of the UserDefaults of the booted device
edit Edit the UserDefaults of the booted device by $EDITOR
help Print this help
```
Install
-------
You can install this by the following command (you should customize `path/to/userdefaults-ctl` to the location you like):
```console
$ git clone https://github.com/Kuniwak/userdefaults-ctl path/to/userdefaults-ctl
$ export PATH="path/to/userdefaults-ctl/bin:$PATH"
$ which userdefaults-ctl
path/to/userdefaults-ctl/bin/userdefaults-ctl
```
License
-------
[The MIT License (MIT)](https://kuniwak.mit-license.org/)