npm package diff
Package: @forge/cli-shared
Versions: 6.8.0-next.25-experimental-1aaebb0 - 6.8.0-next.26
File: package/out/ui/text.js
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -951,8 +951,78 @@
return colourFunction(` Run ${forge('lint', '--fix')} to automatically fix ${pluralCheckedFixableErrors} and ${pluralCheckedFixableWarnings}.\n`);
},
warning: (line, column, message, reference) => getLintMessage(line, column, message, 'warning', log_color_1.LogColor.warn, reference)
},
+ containers: {
+ cmd: {
+ desc: 'manage containers and container images'
+ },
+ create: {
+ cmd: {
+ desc: 'create new container definition',
+ keyOption: 'specify the name of the container'
+ },
+ prompt: {
+ overview: 'Create a new container.',
+ entry: 'Enter a name for your container:'
+ },
+ creatingNewContainer: (key) => `Creating new container with key '${key}'.`,
+ start: 'Creating container...',
+ success: 'Container created.',
+ createdRepositoryURI: (uri) => `New repository URI: ${uri}`
+ },
+ list: {
+ cmd: {
+ desc: 'list all container definitions'
+ },
+ listingContainers: 'Listing all app containers.',
+ noContainersFound: `No containers found.`
+ },
+ images: {
+ cmd: {
+ desc: 'manage container images'
+ },
+ list: {
+ cmd: {
+ desc: 'list all images for the container',
+ keyOption: 'specify the name of the container'
+ },
+ prompt: {
+ overview: 'List all images for a container.',
+ entry: 'Enter the name of the container to list images for:'
+ },
+ listingImages: (key) => `Listing images for container with key '${key}'.`,
+ noImagesFound: `No images found.`,
+ promptNextPage: 'Load next page [Y] or [Enter] to exit',
+ confirmationForNextPage: 'y'
+ }
+ },
+ login: {
+ cmd: {
+ desc: 'get login password for the image repository',
+ onlyPassword: 'display only the password'
+ },
+ truncatedPassword: (password) => `${password.substring(0, 12)}...<truncated>`
+ },
+ delete: {
+ cmd: {
+ desc: 'delete container definition along with the associated image repository and all of its images',
+ keyOption: 'specify the name of the container'
+ },
+ interactive: {
+ overview: 'Select which container to delete.',
+ desc: 'Select where to uninstall the app:',
+ progressInfo: `To delete a container, select it from the list.\nPress Ctrl+C to cancel.`,
+ noContainersFound: `This app does not have any containers.\nRun ${chalk_1.default.bold('forge containers create')} to create a container for your app.`
+ },
+ deletingContainer: (key) => `Deleting container definition with key '${key}'.`,
+ warning: 'Deleting container is irreversible and will delete all images associated with it.',
+ confirmation: (key) => `Type the container key [${key}] to confirm deletion:`,
+ abortedDeletion: 'Aborted.',
+ start: 'Deleting container...',
+ success: 'Container deleted.'
+ }
+ },
stub: {
error: (newName, oldName) => `The ${forge(oldName)} command has been deprecated and replaced by ${forge(newName)}.`
},
customPrompts: {