mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-21 10:20:05 +00:00
11 lines
251 B
Ruby
11 lines
251 B
Ruby
require 'open3'
|
|
|
|
Open3.popen3("./bin/mpw config --init test@test.com") do |stdin, stdout, stderr, thread|
|
|
stdin.puts 'test'
|
|
stdin.puts 'test'
|
|
end
|
|
|
|
Open3.popen3("./bin/mpw list") do |stdin, stdout, stderr, thread|
|
|
stdin.puts 'test'
|
|
puts stdout
|
|
end
|