All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
26 lines
439 B
Ruby
26 lines
439 B
Ruby
# frozen_string_literal: true
|
|
|
|
#!/usr/bin/env ruby
|
|
require 'bundler/setup'
|
|
require 'thor'
|
|
|
|
module PCHWBM
|
|
|
|
require_relative 'cmd/network'
|
|
|
|
class CLI < Thor
|
|
|
|
desc 'version', 'Prints the application version.'
|
|
def version()
|
|
puts 'PC Hardware Benchmark CLI app v0.1.0.'
|
|
end
|
|
|
|
desc 'network', 'network SUBCOMMAND for testing networking components.'
|
|
subcommand 'network', Network
|
|
|
|
end
|
|
|
|
end
|
|
|
|
PCHWBM::CLI.start(ARGV)
|