Skip to content

Commit

Permalink
Refer to name as template name
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed Nov 10, 2023
1 parent 5da9f49 commit 817fc70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export const buildCommand = new commander.Command('build')
)} or ${asLocal(fallbackDockerfileName)} in root directory`,
)
.option(
'-n, --name <name>',
'Specify name of sandbox template. You can use the name to start the sandbox in the SDK. The name must be lowercase and contain only letters, numbers, dashes and underscores',
'-n, --name <template-name>',
'Specify sandbox template name. You can use the template name to start the sandbox with SDK. The template name must be lowercase and contain only letters, numbers, dashes and underscores',
)
.alias('bd')
.action(
Expand Down Expand Up @@ -121,7 +121,7 @@ export const buildCommand = new commander.Command('build')

if (newName && config?.name && newName !== config?.name) {
console.log(
`The name of the sandbox will be changed from ${asLocal(config.name)} to ${asLocal(newName)}.`,
`The sandbox template name will be changed from ${asLocal(config.name)} to ${asLocal(newName)}.`,
)
}
const name = newName || config?.name
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const listCommand = new commander.Command('list')
title: 'Sandbox templates',
columns: [
{ name: 'envID', alignment: 'left', title: 'Template ID' },
{ name: 'aliases', alignment: 'left', title: 'Name', color: 'blue' },
{ name: 'aliases', alignment: 'left', title: 'Template Name', color: 'blue' },
],
disabledColumns: ['public', 'buildID'],
rows: templates.map((template) => ({ ...template, aliases: listAliases(template.aliases) })),
Expand Down

0 comments on commit 817fc70

Please sign in to comment.