Skip to content
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

Update CLI Commands with Registered RPCs #6

Open
seekersoftec opened this issue Aug 3, 2024 · 0 comments
Open

Update CLI Commands with Registered RPCs #6

seekersoftec opened this issue Aug 3, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@seekersoftec
Copy link
Contributor

seekersoftec commented Aug 3, 2024

Task:

  1. Retrieve Registered RPCs: Query the server/daemon to obtain the list of available RPCs.
  2. Generate CLI Commands: Create corresponding CLI commands for each RPC, ensuring that the command names and arguments align with the RPC definitions.
  3. Implement Command Logic: Implement the logic for each CLI command to invoke the corresponding RPC and process the response.
  4. Add Asset Classes Command: Create a new CLI command (flowcli asset classes) to retrieve and display the available asset categories/classes.

Example CLI Commands:

flowcli venues
flowcli environments
flowcli agents
flowcli generate
flowcli asset classes

Additional Considerations:

  • Command Help: Provide clear and informative help messages for each CLI command, explaining its usage, arguments, and expected output.
  • Error Handling: Implement robust error handling to gracefully handle potential exceptions during RPC calls or command execution.
  • Command Completion: Consider adding command completion functionality to improve the user experience and reduce typing errors.
  • Configuration: Allow users to configure the server/daemon address and other relevant settings.

By updating the CLI commands with the registered RPCs and adding the flowcli asset classes command, we can provide a more comprehensive and user-friendly interface for interacting with the Flow platform.

@seekersoftec seekersoftec added enhancement New feature or request good first issue Good for newcomers labels Aug 3, 2024
@seekersoftec seekersoftec changed the title Update CLI Commands Update CLI Commands with Registered RPCs Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant