-
Notifications
You must be signed in to change notification settings - Fork 4
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
Migration to clap 3.0
and additional unit test coverage
#19
Conversation
* unit test * clap2 deprecated function replaced with clap3
because of the change in the core library.
@ashuio , I have started porting the code to |
Thanks for taking the initiative, I'll see how i can help too |
clap 3.0
clap 3.0
and additional unit test coverage
shavee-core/src/zfs.rs
Outdated
} | ||
Err(error) => return Err(error.into()), | ||
}; | ||
#[derive(Debug, PartialEq)] |
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.
Converted the zfs module to OO programming to use Struct and Module.
shavee-core/src/zfs.rs
Outdated
} | ||
//TODO: Modify the trait function to return _Self_ to enable chain actoions: dataset.loadkey(passphrase).mount() | ||
impl Dataset { |
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.
Functions now are changed to methods.
These are remaining tasks marked in the code as:
|
This PR is ready for merge. I will open new trackers for remaining TODO lists |
Additional integration test to cover issue #22. Currently it checks for error message.
Sorry for the delay with the merge, Thanks for your contribution |
Clap 2.0
functions/features that are now deprecated inClap 3.0
.