-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tome newlines #400
Add tome newlines #400
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #400 +/- ##
==========================================
+ Coverage 71.13% 71.17% +0.04%
==========================================
Files 109 109
Lines 8071 8084 +13
==========================================
+ Hits 5741 5754 +13
Misses 2221 2221
Partials 109 109 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
elif sys.is_windows(): | ||
assets.copy("exec_script/hello_world.bat","C:\Windows\Temp\golem_cli_test-copy_script_and_execute") | ||
shell_res = sys.shell("C:\Windows\Temp\golem_cli_test-copy_script_and_execute") | ||
print(shell_res) | ||
|
||
print("\n") | ||
|
||
copy_script_and_execute() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/cat/main.eldritch
Outdated
cat(input_params['path']) | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
return | ||
|
||
download_and_execute(input_params['url']) | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/file_list/main.eldritch
Outdated
file_list(input_params['path']) | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/hostname/main.eldritch
Outdated
@@ -1 +1,4 @@ | |||
print(sys.hostname()) | |||
print("\n") | |||
print("\n") | |||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/ifconfig/main.eldritch
Outdated
ifconfig() | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/netstat/main.eldritch
Outdated
netstat() | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/port_scan/main.eldritch
Outdated
) | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
process_list(input_params['cmd_substring']) | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
tavern/tomes/shell_cmd/main.eldritch
Outdated
shell_cmd(input_params['cmd']) | ||
print("\n") | ||
print("\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline EOF
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Adds newlines to tome output after removing the implicit newline in the printer.
Which issue(s) this PR fixes:
Fixes #397