Project

Profile

Help

Task #7107

Updated by Mark Zaslavskiy over 4 years ago

https://github.com/OSLL/mdbci/blob/4a68ae9f1f9c8bf3f45cb622607e751a2466e1b8/core/network.rb#L64
Function:
- should not contain code duplications
- should work with arguments in transparently way (for exmaple - all args[i] should be replaced for human readable and understandable name)
- exit code magic should be converted to raise
- split for two functions:
-- the first which returns its result as string in return
-- the second just wraps first and print it to $out.out
- add integration test for the whole command "show keyfile" network"

Back