Skip to content

Commit

Permalink
Merge pull request #1919 from cnti-testcatalog/feature/#1806-ueransim…
Browse files Browse the repository at this point in the history
…-cli

#1806 ueransim cli messaging now exists
  • Loading branch information
agentpoyo authored Mar 4, 2024
2 parents 516e789 + 4f1764f commit 6d09d1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tasks/ueransim_setup.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ require "totem"
desc "Install UERANSIM"
task "install_ueransim" do |_, args|
Log.info {"UERANSIM Setup"}
next unless args["cnf-config"]?
if args["cnf-config"]?
cnf_config_file = args["cnf-config"].as(String)
config = CNFManager::Config.parse_config_yml(cnf_config_file)
UERANSIM.install(config)
else
puts "you must provide a cnf-testsuite.yml".colorize(:red)
end
end

desc "Uninstall UERANSIM"
Expand Down

0 comments on commit 6d09d1b

Please sign in to comment.