26 27 28 29 30 31 32 33 34 35 36
# File 'lib/justiz_sync/cli.rb', line 26 def sync @stream = Stream.new delete_unused = false if (state = options['state']) sync_state(state) else sync_all delete_unused = true end stream.close(delete_unused) end