@ghl-ai/aw 0.1.31 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +1 -1
- package/commands/init.mjs +2 -2
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -73,7 +73,7 @@ function printHelp() {
|
|
|
73
73
|
const help = [
|
|
74
74
|
sec('Setup'),
|
|
75
75
|
cmd('aw init --namespace <team/sub-team>', 'Initialize workspace (required)'),
|
|
76
|
-
` ${chalk.dim('Teams: revex, mobile, commerce, leadgen, crm, marketplace, ai')}`,
|
|
76
|
+
` ${chalk.dim('Teams: platform, revex, mobile, commerce, leadgen, crm, marketplace, ai')}`,
|
|
77
77
|
` ${chalk.dim('Example: aw init --namespace revex/courses')}`,
|
|
78
78
|
|
|
79
79
|
sec('Download'),
|
package/commands/init.mjs
CHANGED
|
@@ -92,7 +92,7 @@ function printPullSummary(pattern, actions) {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const ALLOWED_NAMESPACES = ['revex', 'mobile', 'commerce', 'leadgen', 'crm', 'marketplace', 'ai'];
|
|
95
|
+
const ALLOWED_NAMESPACES = ['platform', 'revex', 'mobile', 'commerce', 'leadgen', 'crm', 'marketplace', 'ai'];
|
|
96
96
|
|
|
97
97
|
export async function initCommand(args) {
|
|
98
98
|
const namespace = args['--namespace'] || null;
|
|
@@ -133,7 +133,7 @@ export async function initCommand(args) {
|
|
|
133
133
|
].join('\n'));
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
if (team && !subTeam) {
|
|
136
|
+
if (team && !subTeam && team !== 'platform') {
|
|
137
137
|
fmt.cancel([
|
|
138
138
|
`Missing sub-team in ${chalk.red(namespace)}`,
|
|
139
139
|
'',
|