You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ If you experience issues installing Accenture SFMC DevTools, please check out th
123
123
1. Install Accenture SFMC DevTools by running `npm install -g mcdev` (prefix with `sudo` on MacOS)
124
124
- If you get an error, please see the below troubleshooting section.
125
125
126
-
When completed run `mcdev --version` and it will show you which version you installed (e.g. `4.1.4`).
126
+
When completed run `mcdev --version` and it will show you which version you installed (e.g. `4.1.5`).
127
127
128
128
> **_Side note for proud nerds_:**
129
129
>
@@ -277,10 +277,10 @@ _Note: Regardless of which tag or branch you install_
277
277
**Install specific version (using a version tag on npm):**
278
278
279
279
```bash
280
-
npm install -g mcdev@4.1.4
280
+
npm install -g mcdev@4.1.5
281
281
```
282
282
283
-
**Warning**: When you used the above method to install Accenture SFMC DevTools for a specific version or tag, trying to [update Accenture SFMC DevTools](#updating-mcdev) might not download the most recently published official version but instead stay on the version or branch you previously selected (in the above examples: develop, 4.1.4)!
283
+
**Warning**: When you used the above method to install Accenture SFMC DevTools for a specific version or tag, trying to [update Accenture SFMC DevTools](#updating-mcdev) might not download the most recently published official version but instead stay on the version or branch you previously selected (in the above examples: develop, 4.1.5)!
284
284
285
285
> **Note**: The version is currently _not_ updated on the developer branch until a new release is published. Hence, you will not see a change if you run `mcdev --version`.
286
286
@@ -476,7 +476,7 @@ Example url: `https://mcg123abcysykllg-0321cbs8bbt64.auth.marketingcloudapis.com
476
476
> You can run this command without the interactive wizard asking questions using the `--skipInteraction` (or short`--yes`/`--y`) flag. In this case, you need to provide a few values in the command:
@@ -1493,7 +1493,7 @@ Assuming you cloned Accenture SFMC DevTools into `C:\repos\sfmc-devtools\` (or `
1493
1493
1494
1494
This should tell npm to create a symlink to your cloned local directoty, allowing you to see updates you make in your mcdev repo instantly.
1495
1495
1496
-
To test your new **global** developer setup, run `mcdev --version`in CLI which should return the current version (e.g. `4.1.4`). Then, go into your mcdev repo and update the version with the suffix `-dev`, e.g. to `4.1.4-dev` and then run `mcdev --version` again to verify that your change propagates instantly.
1496
+
To test your new **global** developer setup, run `mcdev --version`in CLI which should return the current version (e.g. `4.1.5`). Then, go into your mcdev repo and update the version with the suffix `-dev`, e.g. to `4.1.5-dev` and then run `mcdev --version` again to verify that your change propagates instantly.
1497
1497
1498
1498
>**Not recommended:** Alternatively, you can install it locally only by opening a terminal in your project directory and executing `npm install --save-dev "C:\repos\sfmc-devtools"`
1499
1499
> To run the local version you need to prepend "npx" before your commands, e.g. `npx mcdev --version`
@@ -1531,7 +1531,7 @@ The following explains how you _could_ install it locally for certain edge cases
// return null here to avoid seeing 2 error messages for the same issue
43
42
returnnull;
@@ -54,7 +53,7 @@ const Cli = {
54
53
`Credential '${skipInteraction.credentialName}' already existing. If you tried updating please provide run 'mcdev init ${skipInteraction.credentialName}'`
// check if remote repo is still empty (otherwise to risky to blindly push)
@@ -101,7 +100,7 @@ const Init = {
101
100
`Your remote Git repository is still empty and ready to store your initial backup. Hint: This is the server version of the repo which you share with your team.`
* @param {TYPE.skipInteraction} [skipInteraction] signals what to insert automatically for things usually asked via wizard
128
126
* @returns {string} repo name (optionally)
129
127
*/
130
-
async_addGitRemote(skipInteraction){
128
+
async_addGitRemote(){
129
+
constskipInteraction=Util.skipInteraction;
131
130
// #1 ask if the user wants to do it now
132
131
letresponses;
133
132
if(!skipInteraction){
@@ -177,10 +176,10 @@ const Init = {
177
176
/**
178
177
* checks global config and ask to config the user info and then store it locally
179
178
*
180
-
* @param {boolean | TYPE.skipInteraction} [skipInteraction] signals what to insert automatically for things usually asked via wizard
181
179
* @returns {void}
182
180
*/
183
-
async_updateGitConfigUser(skipInteraction){
181
+
async_updateGitConfigUser(){
182
+
constskipInteraction=Util.skipInteraction;
184
183
constgitUser=(awaitthis._getGitConfigUser())||{};
185
184
Util.logger.info(
186
185
`Please confirm your Git user name & email. It should be in the format 'FirstName LastName' and 'your.email@accenture.com'. The current (potentially wrong) values are provided as default. If correct, confirm with ENTER, otherwise please update:`
0 commit comments