Mayil-AI-Sandbox / kuzudb_jan15

MIT License
0 stars 0 forks source link

Add a new command to cli to print the current shell configuration (hashtag2805) #21

Open vikramsubramanian opened 4 months ago

vikramsubramanian commented 4 months ago

I am often in a state where I want to see the state of my configuration for shell after I run a query. That is I want to know what are the current numThreads or timeout. We should have a command (something like "print_configs" that will print out any of the configurable parameters from the shell. Currently these include: :thread, :timeout, and logging_level. )

mayil-ai[bot] commented 4 months ago

Summary: Add a new "print_configs" command to the CLI to display the current shell configuration parameters.

Implementation ideas

To implement the feature described in the Jira ticket (hashtag2805), you will need to add a new command to the CLI of the Kùzu embedded graph database that prints the current shell configuration. Here's how you can implement this feature:

Make sure to test the new command after implementing it to ensure it works as expected and that it correctly prints the current configuration of the shell, including the number of threads, query timeout, and logging level.

Code snippets to check