bin/trema in trema-0.7.1 vs bin/trema in trema-0.8.0
- old
+ new
@@ -231,9 +231,17 @@
end
end
end
end
+ desc 'Opens a new shell in the specified network namespace'
+ arg_name 'name'
+ command :netns do |c|
+ c.action do |global_options, options, args|
+ system "sudo ip netns exec #{args[0]} #{ENV['SHELL']}"
+ end
+ end
+
default_command :help
on_error do |e|
case e
when OptionParser::ParseError,