Open adrianbenavides opened 11 months ago
Hello, i would be interested to work on this issue, but is it possible to add something more to do ? (it is requirement by university task about 3-4 hrs of work) thanks :)
All yours!
but is it possible to add something more to do ? (it is requirement by university task about 3-4 hrs of work)
I can't extend this issue artifically, but we have plenty of open issues. You can grab as many as you want 👍
Thanks, but it is neccessary to be single task :D is it possible to make task with subtasks https://github.com/build-trust/ockam/issues/6376 https://github.com/build-trust/ockam/issues/6375 https://github.com/build-trust/ockam/issues/6374 or somehow connect them here on github ?
You can reference multiple issues from a single PR, if that works for you.
Current behavior
The
timeout
argument onockam status
is of typeu64
.Desired behavior
The
timeout
argument onockam status
should be of typeDuration
and its doc string should have removed the(in seconds)
part. Also, the default value should be changed to30s
and thevalue_parser
argument should be added calling theduration_parser
function.Take this as an example:
https://github.com/build-trust/ockam/blob/59f52a66cc84ad682d9f4ea5715057f97f8eb7a3/implementations/rust/ockam/ockam_command/src/message/send.rs#L47-L49
Implementation details
This is the argument that must be changed:
https://github.com/build-trust/ockam/blob/5019283dfcb3ed95853e3729c2313f0e475a788e/implementations/rust/ockam/ockam_command/src/status.rs#L31-L33
Some tips for newcomers:
develop
branch)cargo fmt
. You can configure the editor to run it automatically everytime a file is savedcargo clippy
to make sure the code compiles + follows rust standards/best practicesdevelop
until there is a merge conflict. If you still want to update it, usegit rebase develop
instead ofgir merge develop
We love helping new contributors! ❤️ If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.