Skip to content

Commit

Permalink
Rename create to install
Browse files Browse the repository at this point in the history
  • Loading branch information
pshrmn committed Dec 16, 2018
1 parent 9005f9a commit 17a2ee0
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/cli/.size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"gzipped": 153
},
"bin/curi-cli.js": {
"bundled": 28641,
"minified": 13134,
"gzipped": 4071
"bundled": 28630,
"minified": 13135,
"gzipped": 4072
}
}
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import commander from "commander";
import init from "./commands/init";
import create from "./commands/create";
import install from "./commands/install";
import staticCommand from "./commands/static";

commander
.command("init")
.description("Create a Curi config module")
.action(init);

commander.command("create").action(create);
commander.command("install").action(install);

commander
.command("static <command>")
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/prompts/existingFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { prompt } from "inquirer";
import * as fs from "fs-extra";
import path from "path";

import { overwriteRouter, overwriteRoutes } from "../questions/create/files";
import { overwriteRouter, overwriteRoutes } from "../questions/install/files";

import { CuriConfig } from "../types";

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/prompts/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
interactionQuestions,
sideEffectQuestions,
webHistoryQuestions
} from "../questions/create/deps";
} from "../questions/install/deps";

// if anything in here throws, let this fns caller catch and handle it
export default async function packagesPrompts() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 17a2ee0

Please sign in to comment.