Skip to content

Add CLI improvements: retry logic, error handling, validation #45

@heywinit

Description

@heywinit

I was setting up Nile using the CLI earlier today and ran into a HTTP error. I just re-ran the command. But I also wanted to check why there was no retry. I checked the codebase since it's open and noticed there are a bunch of things we can fix.

  • There's a lot of duplicated code in the error handling.
  • No input validation on commands.
  • And just some general modernization that could make things more robust.

Thinking of adding retry logic to API calls, consolidating some duplicate error handling code, and maybe adding input validation for common commands like database and tenant creation. These are some small yet incremental improvements that would make the CLI more reliable.

Would love to work on this if you're open to it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions