Skip to content

Commit 899f62d

Browse files
committed
add denore core
1 parent c69e630 commit 899f62d

23 files changed

+189
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ path="src/lib.rs"
2020
chrono = "0.4.40"
2121
clap = { version = "4.5.32", features = ["cargo"] }
2222
console = "0.15.11"
23+
deno_core = "0.362.0"
2324
dialoguer = { version = "0.10.4", features = ["fuzzy-select", "completion"] }
2425
dirs = "5.0.1"
2526
include_dir = "0.7.4"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub mod database;
44
pub mod config;
55
pub mod errors;
66
pub mod helpers;
7-
pub mod parser;
7+
pub mod toolbox;
88
pub mod parsers;
9-
pub mod subcommands;
9+
pub mod commands;
1010

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use clap::command;
44

55
use lib_toolbox::{
66
config::database::AppDatabase,
7-
subcommands::{
7+
commands::{
88
generate::generate_command, script::script_command, self_cmd::self_command,
99
store::store_command,
1010
},
@@ -18,7 +18,7 @@ fn main() -> Result<(), AppError> {
1818
.subcommand(script_command())
1919
.get_matches();
2020

21-
lib_toolbox::parser::parse_commands(matches, AppDatabase::init()?);
21+
lib_toolbox::toolbox::parse_commands(matches, AppDatabase::init()?);
2222

2323
Ok(())
2424
}

src/parsers/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pub mod app;
22
pub mod generator;
33
pub mod store;
4+
pub mod scripts;

0 commit comments

Comments
 (0)