Open picoroma opened 3 years ago
I also get Unknown argument '-n' bolt version 3.27.2
I think
COMMAND = ["/usr/local/bin/bolt", "command", "run", exec_command,"-n", host,"-u",args.username]
needs to be changed to use targets as you suggested
COMMAND = ["/usr/local/bin/bolt", "command", "run", exec_command,"--targets", host,"-u",args.username]
I created a fork for this but when I run gradle build it fails. So I don't know how to build a new version.
The Only command that works fine is "--version" that reports the bolt version. Any other command i try to run give me the same error: Unknown argument '-n' Bolt version 2.33.2
If i run in "dry run" - for example the --help it return: [/usr/local/bin/bolt, command, run, --help --log-level any, -n, winrm://my-server-ip, -u, myuser, -p, mypswd]
And I do not understand the -u it put before the target server. I think it expected a --target . Don't you?