mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-02 17:22:17 +00:00
Add the .indexes command
This commit is contained in:
parent
7137f4ab3b
commit
6d3c63fb01
4 changed files with 67 additions and 2 deletions
|
@ -2,8 +2,8 @@ pub mod args;
|
|||
pub mod import;
|
||||
|
||||
use args::{
|
||||
CwdArgs, EchoArgs, ExitArgs, LoadExtensionArgs, NullValueArgs, OpcodesArgs, OpenArgs,
|
||||
OutputModeArgs, SchemaArgs, SetOutputArgs, TablesArgs, TimerArgs,
|
||||
CwdArgs, EchoArgs, ExitArgs, IndexesArgs, LoadExtensionArgs, NullValueArgs, OpcodesArgs,
|
||||
OpenArgs, OutputModeArgs, SchemaArgs, SetOutputArgs, TablesArgs, TimerArgs,
|
||||
};
|
||||
use clap::Parser;
|
||||
use import::ImportArgs;
|
||||
|
@ -72,6 +72,9 @@ pub enum Command {
|
|||
/// List vfs modules available
|
||||
#[command(name = "vfslist", display_name = ".vfslist")]
|
||||
ListVfs,
|
||||
/// Show names of indexes
|
||||
#[command(name = "indexes", display_name = ".indexes")]
|
||||
ListIndexes(IndexesArgs),
|
||||
#[command(name = "timer", display_name = ".timer")]
|
||||
Timer(TimerArgs),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue