Skip to content

v0.5.0

Compare
Choose a tag to compare
@fehmicansaglam fehmicansaglam released this 20 Aug 11:25
· 10 commits to main since this release
550ab97

Added

  • Introduced the 'query' Command for Elasticsearch Queries:
    • New 'query' command in esctl allowing users to search by index, term, and ID.
    • Implemented the SearchDocuments function supporting multiple terms and IDs.
    • Documented the usage, flags, and examples of the 'query' command in the README.
  • Introduced timeout flag for the 'group by' command. This flag allows users to customize the timeout for potentially long-running queries. The default timeout is set to 1s.

Changed

  • Refactored 'get' command for better modularity:
    • Extracted 'get' command logic into individual subcommands: nodes, indices, shards, aliases, tasks.
  • Enhanced the user experience to be more like kubectl:
    • Introduced a context switch mechanism.
    • Replaced 'clusters' with 'contexts' for a consistent naming approach.
    • Added a new command group 'config' for managing contexts.
    • The 'set-cluster' command was replaced with 'config use-context'.
    • The 'list-clusters' command was replaced with 'config get-contexts'.
    • Added a 'config current-context' command for displaying the current context.

Fixed

  • Resolved issues with inherited flags in the 'get' command. Now, all inherited flags are recognized as valid flags for all entities.

Removed

  • Removed unused flags.

Misc

  • Sorted texts in a natural order.
  • Added documentation on creating a custom starship module.