Skip to content

Commit cad87ce

Browse files
author
Tomáš Winkler
authored
Merge pull request #20 from Kentico/readme-migration-udate
Adjust add environment operation info in readme
2 parents 7639b5e + 70cdbcd commit cad87ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ kontent migration add --help
8989

9090
The supported commands are divided into groups according to their target, at this first version there are just to spaces "migration" and "environment" containing following commands:
9191

92-
* `environment add`Creates an environment to run the migrations on.
92+
* `environment add` Store information about the environment locally.
9393
* The environment is defined as a named pair of values. For example, "DEV" environment can be defined as a pair of a specific project ID and Management API key. This named pair of values is stored within your local repository in a configuration file named `.environments.json`.
9494
* You can specify a named pair of project ID and Management API key using these options: `--project-id <your project ID> --api-key <management api key> --name <name of the environment>`.
9595

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kentico/kontent-cli",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"description": "Command line interface tool that can be used for generating and running Kontent migration scripts",
55
"main": "./lib/index.js",
66
"types": "./lib/types/index.d.ts",

src/cmds/environment/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { saveEnvironmentConfig } from '../../utils/environmentUtils';
33

44
const addEnvironmentCommand: yargs.CommandModule = {
55
command: 'add',
6-
describe: "Creates an environment to run the migrations on. The environment is defined as a named pair of values. For example, a 'DEV' environment can be defined as a pair of specific project ID and Management API key.",
6+
describe: "Store information about the environment locally. The environment is defined as a named pair of values. For example, a 'DEV' environment can be defined as a pair of specific project ID and Management API key.",
77
builder: (yargs: any) =>
88
yargs
99
.options({

0 commit comments

Comments
 (0)