Skip to content

Commit

Permalink
refactor(config): clean up redundancies
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofdiamond5 committed Sep 12, 2024
1 parent 0b01772 commit 7b7fd67
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/cli/lib/commands/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Config, GoogleAnalytics, ProjectConfig, Util } from "@igniteui/cli-core";
import { ConfigCommandType, PositionalArgs } from "./types";
import { ArgumentsCamelCase } from "yargs";
import { ConfigCommandType } from "./types";

const command: ConfigCommandType = {
command: "config",
Expand Down Expand Up @@ -49,9 +48,7 @@ const command: ConfigCommandType = {
})
.usage(""); // do not show any usage instructions before the commands list
},
handler: (argv: ArgumentsCamelCase<PositionalArgs>) => {
command.addHandler(argv);
}
handler: command.addHandler
})
.option("global", {
alias: "g",
Expand Down

0 comments on commit 7b7fd67

Please sign in to comment.