lib/flow/cli/utils/db_manager.rb in flow-cli-0.0.4 vs lib/flow/cli/utils/db_manager.rb in flow-cli-0.0.5
- old
+ new
@@ -11,9 +11,13 @@
file << hash.to_yaml
end
hash
end
+ def reset
+ overide_save({})
+ end
+
def save(settings)
old = read
settings = old.merge(settings).compact.stringify_keys
yaml = settings.to_yaml
File.open(FLOW_CLI_CONFIG, "w") do |file|