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
Minor cleanup in files related to Yeoman Generator logic. Most of these
files already had their big refactoring moments. This commit is mostly
small cleanup items discovered while refactoring the falcon:apk:create
command.
Related to: #22#139
Copy file name to clipboardExpand all lines: src/commands/falcon/adk/create.ts
+27-28Lines changed: 27 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
* @summary Implements the CLI command "falcon:adk:create"
7
7
* @description Salesforce CLI Plugin command (falcon:adk:create) that allows a Salesforce DX
8
8
* developer to create an empty project based on the AppExchange Demo Kit (ADK)
9
-
* template. Once the ADK project is created, the user is guided through an
9
+
* template. Once the ADK project is created, the user is guided through an
10
10
* interview where they define key ADK project settings which are then used to
11
11
* customize the ADK project scaffolding that gets created on their local machine.
12
12
* @version 1.0.0
@@ -17,17 +17,17 @@
17
17
import{flags}from'@salesforce/command';// Allows creation of flags for CLI commands.
18
18
import{Messages}from'@salesforce/core';// Messages library that simplifies using external JSON for string reuse.
19
19
import{SfdxError}from'@salesforce/core';// Generalized SFDX error which also contains an action.
20
+
import{AnyJson}from'@salesforce/ts-types';// Safe type for use where "any" might otherwise be used.
20
21
21
22
// Import Local Modules
22
-
import{SfdxFalconYeomanCommand}from'../../../modules/sfdx-falcon-yeoman-command';// Base class that CLI commands in this project that use Yeoman should use.
23
23
import{SfdxFalconError}from'../../../modules/sfdx-falcon-error';// Extends SfdxError to provide specialized error structures for SFDX-Falcon modules.
24
+
import{SfdxFalconYeomanCommand}from'../../../modules/sfdx-falcon-yeoman-command';// Base class that CLI commands in this project that use Yeoman should use.
24
25
25
26
// Import Internal Types
26
27
import{SfdxFalconCommandType}from'../../../modules/sfdx-falcon-command';// Enum. Represents the types of SFDX-Falcon Commands.
27
28
28
29
// Set the File Local Debug Namespace
29
-
//const dbgNs = 'COMMAND:falcon-demo-create:';
30
-
//const clsDbgNs = 'FalconDemoCreate:';
30
+
//const dbgNs = 'COMMAND:falcon-adk-create:';
31
31
32
32
// Use SfdxCore's Messages framework to get the message bundle for this command.
0 commit comments