Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/rskim/src/analytics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pub(crate) enum CommandType {
Test,
Build,
Git,
Pkg,
}

impl CommandType {
Expand All @@ -48,6 +49,7 @@ impl CommandType {
CommandType::Test => "test",
CommandType::Build => "build",
CommandType::Git => "git",
CommandType::Pkg => "pkg",
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions crates/rskim/src/cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ mod hooks;
mod init;
mod integrity;
mod learn;
mod pkg;
mod rewrite;
mod session;
mod stats;
Expand All @@ -38,6 +39,7 @@ pub(crate) const KNOWN_SUBCOMMANDS: &[&str] = &[
"git",
"init",
"learn",
"pkg",
"rewrite",
"stats",
"test",
Expand Down Expand Up @@ -284,6 +286,7 @@ pub(crate) fn dispatch(subcommand: &str, args: &[String]) -> anyhow::Result<Exit
"git" => git::run(args),
"init" => init::run(args),
"learn" => learn::run(args),
"pkg" => pkg::run(args),
"rewrite" => rewrite::run(args),
"stats" => stats::run(args),
"test" => test::run(args),
Expand Down
Loading
Loading