Skip to content

text edits #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"arg": "^4.1.3",
"esm": "^3.2.25",
"inquirer": "^7.1.0",
"js-yaml": "^3.13.1",
"js-yaml": "^3.14.0",
"listr": "^0.14.3",
"lodash": "^4.17.15",
"ncp": "^2.0.0",
"npc": "0.0.1",
"simple-git": "^2.4.0"
"simple-git": "^2.5.0"
}
}
12 changes: 6 additions & 6 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function promptForMissingOptions(options) {
questions.push({
type: 'input',
name: 'localGit',
message: 'Please, provide a directory of the valid git repository: ',
message: 'Please, provide a local directory of the valid git repository: ',
when: (answers) => answers.source === localGit,
});

Expand All @@ -80,7 +80,7 @@ async function promptForMissingOptions(options) {
questions.push({
type: 'list',
name: 'source',
message: 'It was provided both a local git directory and a remote address. Please, choose either one or those to parse: ',
message: 'A local git directory and a remote address were both provided. Please, choose either one or those to parse: ',
choices: [localGit, remoteGit],
default: localGit,
});
Expand All @@ -89,7 +89,7 @@ async function promptForMissingOptions(options) {
// if the branch containing the code is not provided
if (!options.codeBranch) {
questions.push({
type: 'imput',
type: 'input',
name: 'codeBranch',
message: 'Please, provide the branch with the code commits: ',
});
Expand All @@ -98,7 +98,7 @@ async function promptForMissingOptions(options) {
// if the branch containing the setup files is not provided
if (!options.setupBranch) {
questions.push({
type: 'imput',
type: 'input',
name: 'setupBranch',
message: 'Please, provide the branch with the setup files (coderoad.yaml and tutorial.md): ',
});
Expand Down Expand Up @@ -132,10 +132,10 @@ export async function cli(args) {

// If help called just print the help text and exit
if (options.help) {
console.log('Docs can be found at github: https://github.com/coderoad/builder-cli/');
console.log('Docs can be found at github: https://github.com/coderoad/coderoad-cli/');
}
else if (!options.command) {
console.log(`The command is missing. Chose either 'create' or 'build' and its options.`)
console.log(`The command is missing. Choose either 'create' or 'build' and its options.`)
}
else {
switch (options.command) {
Expand Down