bin/tl in testlab-1.9.2 vs bin/tl in testlab-1.10.0
- old
+ new
@@ -20,20 +20,19 @@
################################################################################
require 'gli'
require 'testlab'
include GLI::App
-include TestLab::Utility::GLI
include TestLab::Utility::Misc
version TestLab::VERSION
program_desc %(TestLab - A toolkit for building virtual computer labs)
program_long_desc <<-EOF
TestLab is based around the abstraction of three main components: nodes,
networks and containers. Nodes represent a system (bare-metal or virtualized)
-that hosts containers. Networks repesent a Linux bridge on a node. Containers
+that hosts containers. Networks represent a Linux bridge on a node. Containers
simply represent a Linux Container (LXC) running on its parent node which is
typically connected to a network on the node.
In addition to the core component abstractions, TestLab shares a series of core
tasks that are universal across all of the components. These are create and
@@ -65,10 +64,16 @@
sort_help :manually
default_command :help
preserve_argv true
-commands_from 'commands'
+require 'commands/support'
+require 'commands/testlab'
+require 'commands/node'
+require 'commands/network'
+require 'commands/container'
+
+# commands_from 'commands'
desc 'Show verbose output'
default_value false
switch [:v, :verbose]