README.md in strike-0.3.6 vs README.md in strike-0.4.0
- old
+ new
@@ -22,10 +22,16 @@
To generate a new dump, use the following command:
$ strike dump mysql://root@localhost/db_production --profile=tables.rb > obfuscated_dump.sql
+To obfuscate an existing sql dump, use the following command:
+
+ $ cat original_dump.sql | strike obfuscate --profile=tables.rb > obfuscated_dump.sql
+
+It is very important to generate the mysql dump with the `-c` option.
+
This command dumps the `database_url` following the tables defined in the `profile`
file (defaults to `Strikefile`). The default dump output is STDOUT.
The `database_url` must have one of the following formats:
@@ -67,10 +73,9 @@
## Dependencies
* `mysqldump`: to create the dump to manipulate.
* [my_obfuscate][my_obfuscate]: the core of this utility.
-* [Sequel][sequel]: extracts the info for the non defined tables.
* [Thor][thor]: cli utilities.
## Notes
* It is only 1.9 compliant.