Skip to content
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

feat!: use zero questions mode by default. #36

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

KuznetsovRoman
Copy link
Member

  • use zero questions mode by default.
  • "-y" argv replaced with "-v" with opposite meaning
  • "noQuestions" replaced with "extraQuestions" with opposite meaning

@KuznetsovRoman KuznetsovRoman force-pushed the HERMIONE-1522.no_questions_testplane branch 2 times, most recently from b7e6393 to 93fb3c0 Compare April 22, 2024 00:43
Copy link
Member

@sipayRT sipayRT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have a typo in your commit message - feat!:


You can add `-y` or `--yes` argument to launch a tool in *no-questions* mode:
By default, project will be created with zero questions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost zero questions - there may be a question about downloading the npm-package :)

```

In this mode you won't be asked questions about desired plugins and packet manager.

Default packet manager, used with `--yes` argument: `npm`
Default packet manager, used without `--verbose` argument: `npm`

Default plugins, installed with `--yes` argument:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we can remove part installed with --yes argument

Copy link
Member Author

@KuznetsovRoman KuznetsovRoman Apr 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will replace it with "without --verbose argument"

docs/ru/create-testplane.md Outdated Show resolved Hide resolved
docs/ru/create-testplane.md Outdated Show resolved Hide resolved
@@ -17,11 +17,11 @@ const argv = yargs(hideBin(process.argv))
description: "Language, which will be used to write Testplane tests",
choices: ["ts", "js"],
})
.option("yes", {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of removing this option we can set default value as true (we have many examples with -y option)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would we turn it off then?
You still can use -y option (as well as -f, -o, -o, -b, -a, -r), it just does nothing

feat!: "-y" argv replaced with "-v" with opposite meaning
feat!: "noQuestions" replaced with "extraQuestions" with opposite meaning

BREAKING CHANGE: use zero questions mode by default.
BREAKING CHANGE: "-y" argv replaced with "-v" with opposite meaning.
BREAKING CHANGE: "noQuestions" replaced with "extraQuestions" with opposite meaning.
@KuznetsovRoman KuznetsovRoman force-pushed the HERMIONE-1522.no_questions_testplane branch from 93fb3c0 to 537617b Compare April 22, 2024 12:45
@KuznetsovRoman KuznetsovRoman merged commit fee8a28 into master Apr 22, 2024
3 checks passed
@KuznetsovRoman KuznetsovRoman deleted the HERMIONE-1522.no_questions_testplane branch April 22, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants