Sha256: 32c40b143f1bb976924a509ca8fe322265f169c3288574730716161cc86f7ded
Contents?: true
Size: 402 Bytes
Versions: 7
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true module SdrClient # The command line interface module CLI def self.start(command, options) case command when 'deposit' SdrClient::Deposit.run(options) when 'login' status = SdrClient::Login.run(options) puts status.value if status.failure? else raise "Unknown command #{command}" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems