Expose newline option to cli_command module (#55451)

* Add newline to all cliconf plugins

* Expose newline in cli_command

* Also hook up to anything using transform_commands directly
This commit is contained in:
Nathaniel Case 2019-05-07 17:25:57 -04:00 committed by GitHub
parent 8ff27c4e0c
commit 38890ddcaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 67 additions and 53 deletions

View file

@ -80,6 +80,7 @@ def transform_commands(module):
output=dict(),
prompt=dict(type='list'),
answer=dict(type='list'),
newline=dict(type='bool', default=True),
sendonly=dict(type='bool', default=False),
check_all=dict(type='bool', default=False),
), module)