...

/

Configuring a CLI Client

Configuring a CLI Client

Develop a straightforward CLI client to test end-to-end functionality.

CLI client

In this lesson, we will create a sample command-line client based on the ftp-service-client project. This client interacts with our FTP server defined in the ftp-service project. It allows the user to add or delete files from the server’s destination directory. The client communicates with the FTP service using gRPC. We could call the add and delete file methods directly in the ftp-service-client but this is an exercise to show how things are done in an enterprise environment. The purpose of creating this CLI client is to create an abstraction of the ftp-service-client. The end user should just be able to call the RPCs without knowing the client-side implementation details.

We will add a new module implementing the CLI client to the course project (created in ...