sct/lib/sct/commands_generator.rb in sct-1.0.4 vs sct/lib/sct/commands_generator.rb in sct-1.0.5

- old
+ new

@@ -33,9 +33,14 @@ end command :'shell' do |c| c.syntax = 'sct shell' c.description = 'run commands from the shell using docker containers' + c.option '--root', 'run as root user in the container' + + c.action do |args, options| + Sct::ShellCommand.new.execute args, options + end end command :'dev' do |c| c.syntax = 'sct dev' c.description = 'start development container in the current directory'