Skip to content

cmd_line parser #1

@Christiantyemele

Description

@Christiantyemele

using Clap https://github.com/clap-rs/clap write a cmd_line parser which we provide a basic usage and help the parser should collect arguments and return values for the following data

the parser should read and process arguments and determine if there are for the client wants to post or join a group , Meaning the parser should either return
FromCLient::Join or FromClient::Post

async fn send_commands(mut to_server: net::TcpStream) -> anyhow::Result<()> {
    // Todo: Implement use clap to parse command line arguments and print help message

    // send_as_json(&mut to_server, &result).await?;

    todo!()
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions