Initialize the current working directory as an Engineer project folder.
init command creates
env.js files if they do not already exist in the current working directory.
Environment Configuration Options
env.js (environment) file contains configuration options for a target SharePoint environment. You may have one or more environment files per project. Most importantly, this file contains a destination URL and authentication information for each SharePoint environment. Other configuration options are also available.
- Absolute URL of the SharePoint site collection for this environment (
- Authentication configuration object for node-sp-auth; note that some migration API methods support only SAML user/password or add-in client/secret configuration (
- Language setting for localization of all Engineer messages (default:
- Logging level for all Engineer messages;
2(default) is warning,
3is errors only, and
99is quiet (no logging) (
- Specifies whether Engineer should stop upon encountering an error during migrations and rollbacks (default:
Important Security Consideration
If you are using source control to track migration changes, we highly recommend ignoring the
env.js from any code repositories in order to prevent sensitive authentication information from being shared.
Want to translate Engineer into your own language? Check out the
lang/en.js file on GitHub. Once you have translated all messages into your own language, feel free to submit a pull request with your new translation file.