Added some initial project structure and supporting tooling
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
25
src/main.rb
Normal file
25
src/main.rb
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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)
|
Reference in New Issue
Block a user