From 0530ac8133ae0271ff876fbd5164cd7c4b664127 Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 24 Mar 2021 10:46:44 -0500 Subject: [PATCH 1/5] CLI title updates from SEO consultant --- packages/@ionic/cli/src/commands/build.ts | 2 +- packages/@ionic/cli/src/commands/generate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@ionic/cli/src/commands/build.ts b/packages/@ionic/cli/src/commands/build.ts index 33593cc65b..fc2629974e 100644 --- a/packages/@ionic/cli/src/commands/build.ts +++ b/packages/@ionic/cli/src/commands/build.ts @@ -30,7 +30,7 @@ export class BuildCommand extends Command implements CommandPreRun { return { name: 'build', type: 'project', - summary: 'Build web assets and prepare your app for any platform targets', + summary: 'Build for Android, iOS, and other Platform Targets', description, footnotes, groups, diff --git a/packages/@ionic/cli/src/commands/generate.ts b/packages/@ionic/cli/src/commands/generate.ts index 185680ba6c..e2eb0622b1 100644 --- a/packages/@ionic/cli/src/commands/generate.ts +++ b/packages/@ionic/cli/src/commands/generate.ts @@ -35,7 +35,7 @@ export class GenerateCommand extends Command implements CommandPreRun { return { name: 'generate', type: 'project', - summary: 'Automatically create framework features', + summary: 'Create Pages, Components, & Framework Features', description, footnotes, inputs, From 81270f2ce5ee760a28b07a7c9e901076db741961 Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 24 Mar 2021 10:58:48 -0500 Subject: [PATCH 2/5] =?UTF-8?q?=E2=80=9CIonic=20Appflow=E2=80=9D=20->=20?= =?UTF-8?q?=E2=80=9CAppflow=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@ionic/cli/src/commands/deploy/build.ts | 2 +- .../@ionic/cli/src/commands/deploy/index.ts | 2 +- packages/@ionic/cli/src/commands/git/clone.ts | 2 +- .../@ionic/cli/src/commands/git/remote.ts | 4 +-- packages/@ionic/cli/src/commands/link.ts | 28 +++++++++---------- .../cli/src/commands/monitoring/index.ts | 2 +- .../cli/src/commands/monitoring/syncmaps.ts | 2 +- .../@ionic/cli/src/commands/package/build.ts | 2 +- .../@ionic/cli/src/commands/package/deploy.ts | 2 +- .../@ionic/cli/src/commands/package/index.ts | 2 +- packages/@ionic/cli/src/commands/start.ts | 2 +- packages/@ionic/cli/src/lib/index.ts | 2 +- packages/@ionic/cli/src/lib/start.ts | 2 +- 13 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/@ionic/cli/src/commands/deploy/build.ts b/packages/@ionic/cli/src/commands/deploy/build.ts index d4a8b5a2d9..1859fb194a 100644 --- a/packages/@ionic/cli/src/commands/deploy/build.ts +++ b/packages/@ionic/cli/src/commands/deploy/build.ts @@ -48,7 +48,7 @@ export class BuildCommand extends Command { groups: [MetadataGroup.PAID], summary: 'Create a deploy build on Appflow', description: ` -This command creates a deploy build on Ionic Appflow. While the build is running, it prints the remote build log to the terminal. If the build is successful, it downloads the created web build zip file in the current directory. +This command creates a deploy build on Appflow. While the build is running, it prints the remote build log to the terminal. If the build is successful, it downloads the created web build zip file in the current directory. Customizing the build: - The ${input('--environment')} and ${input('--channel')} options can be used to customize the groups of values exposed to the build. diff --git a/packages/@ionic/cli/src/commands/deploy/index.ts b/packages/@ionic/cli/src/commands/deploy/index.ts index 430caf5e1a..aed1acfbb4 100644 --- a/packages/@ionic/cli/src/commands/deploy/index.ts +++ b/packages/@ionic/cli/src/commands/deploy/index.ts @@ -9,7 +9,7 @@ export class DeployNamespace extends Namespace { name: 'deploy', summary: 'Appflow Deploy functionality', description: ` -These commands integrate with Ionic Appflow to configure the deploy plugin in your project and run remote builds. +These commands integrate with Appflow to configure the deploy plugin in your project and run remote builds. Appflow deploy documentation: - Overview: ${strong('https://ion.link/appflow-deploy-docs')} diff --git a/packages/@ionic/cli/src/commands/git/clone.ts b/packages/@ionic/cli/src/commands/git/clone.ts index 7917a80d59..03539cf925 100644 --- a/packages/@ionic/cli/src/commands/git/clone.ts +++ b/packages/@ionic/cli/src/commands/git/clone.ts @@ -14,7 +14,7 @@ export class GitCloneCommand extends Command { inputs: [ { name: 'id', - summary: 'The ID of the Ionic Appflow app to clone', + summary: 'The ID of the Appflow app to clone', validators: [validators.required], }, { diff --git a/packages/@ionic/cli/src/commands/git/remote.ts b/packages/@ionic/cli/src/commands/git/remote.ts index a21c3369e9..362d9586a2 100644 --- a/packages/@ionic/cli/src/commands/git/remote.ts +++ b/packages/@ionic/cli/src/commands/git/remote.ts @@ -13,9 +13,9 @@ export class GitRemoteCommand extends Command { name: 'remote', type: 'project', groups: [MetadataGroup.PAID], - summary: 'Adds/updates the Ionic Appflow git remote to your local Ionic app', + summary: 'Adds/updates the Appflow git remote to your local Ionic app', description: ` -This command is used by ${input('ionic link')} when Ionic Appflow is used as the git host. +This command is used by ${input('ionic link')} when Appflow is used as the git host. ${input('ionic git remote')} will check the local repository for whether or not the git remote is properly set up. This command operates on the ${strong('ionic')} remote. For advanced configuration, see ${strong('Settings')} => ${strong('Git')} in the app settings of the Dashboard[^dashboard]. `, diff --git a/packages/@ionic/cli/src/commands/link.ts b/packages/@ionic/cli/src/commands/link.ts index 942a154838..ea1a53a9c1 100644 --- a/packages/@ionic/cli/src/commands/link.ts +++ b/packages/@ionic/cli/src/commands/link.ts @@ -36,11 +36,11 @@ export class LinkCommand extends Command implements CommandPreRun { groups: [MetadataGroup.PAID], summary: 'Connect local apps to Ionic', description: ` -Link apps on Ionic Appflow to local Ionic projects with this command. +Link apps on Appflow to local Ionic projects with this command. -If the ${input('id')} argument is excluded, this command will prompt you to select an app from Ionic Appflow. +If the ${input('id')} argument is excluded, this command will prompt you to select an app from Appflow. -Ionic Appflow uses a git-based workflow to manage app updates. During the linking process, select ${strong('GitHub')} (recommended) or ${strong('Ionic Appflow')} as a git host. See our documentation[^appflow-git-basics] for more information. +Appflow uses a git-based workflow to manage app updates. During the linking process, select ${strong('GitHub')} (recommended) or ${strong('Appflow')} as a git host. See our documentation[^appflow-git-basics] for more information. Ultimately, this command sets the ${strong('id')} property in ${strong(prettyPath(projectFile))}, which marks this app as linked. @@ -61,7 +61,7 @@ If you are having issues linking, please get in touch with our Support[^support- inputs: [ { name: 'id', - summary: `The Ionic Appflow ID of the app to link (e.g. ${input('a1b2c3d4')})`, + summary: `The Appflow ID of the app to link (e.g. ${input('a1b2c3d4')})`, }, ], options: [ @@ -72,13 +72,13 @@ If you are having issues linking, please get in touch with our Support[^support- }, { name: 'create', - summary: 'Create a new app on Ionic Appflow and link it with this local Ionic project', + summary: 'Create a new app on Appflow and link it with this local Ionic project', type: Boolean, groups: [MetadataGroup.HIDDEN], }, { name: 'pro-id', - summary: 'Specify an app ID from the Ionic Appflow to link', + summary: 'Specify an app ID from the Appflow to link', groups: [MetadataGroup.DEPRECATED, MetadataGroup.HIDDEN], spec: { value: 'id' }, }, @@ -141,11 +141,11 @@ If you are having issues linking, please get in touch with our Support[^support- if (!id && !create) { const choices = [ { - name: `Link ${idFromConfig ? 'a different' : 'an existing'} app on Ionic Appflow`, + name: `Link ${idFromConfig ? 'a different' : 'an existing'} app on Appflow`, value: CHOICE_LINK_EXISTING_APP, }, { - name: 'Create a new app on Ionic Appflow', + name: 'Create a new app on Appflow', value: CHOICE_CREATE_NEW_APP, }, ]; @@ -186,7 +186,7 @@ If you are having issues linking, please get in touch with our Support[^support- const confirm = await this.env.prompt({ type: 'confirm', name: 'confirm', - message: `No apps found. Would you like to create a new app on Ionic Appflow?`, + message: `No apps found. Would you like to create a new app on Appflow?`, }); if (!confirm) { @@ -271,7 +271,7 @@ If you are having issues linking, please get in touch with our Support[^support- this.env.log.nl(); this.env.log.info( - `Ionic Appflow uses a git-based workflow to manage app updates.\n` + + `Appflow uses a git-based workflow to manage app updates.\n` + `You will be prompted to set up the git host and repository for this new app. See the docs${ancillary('[1]')} for more information.\n\n` + `${ancillary('[1]')}: ${strong('https://ion.link/appflow-git-basics')}` ); @@ -288,7 +288,7 @@ If you are having issues linking, please get in touch with our Support[^support- value: CHOICE_GITHUB, }, { - name: 'Ionic Appflow', + name: 'Appflow', value: CHOICE_IONIC, }, // TODO: option to skip git setup for now @@ -323,7 +323,7 @@ If you are having issues linking, please get in touch with our Support[^support- if (githubUrl) { this.env.log.info( - `You can now push to one of your branches on GitHub to trigger a build in Ionic Appflow!\n` + + `You can now push to one of your branches on GitHub to trigger a build in Appflow!\n` + `If you haven't added GitHub as your origin you can do so by running:\n\n` + `${input('git remote add origin ' + githubUrl)}\n\n` + `You can find additional links above to help if you're having issues.` @@ -382,7 +382,7 @@ If you are having issues linking, please get in touch with our Support[^support- this.env.log.nl(); this.env.log.info( `GitHub OAuth setup required.\n` + - `To continue, we need you to authorize Ionic Appflow with your GitHub account. ` + + `To continue, we need you to authorize Appflow with your GitHub account. ` + `A browser will open and prompt you to complete the authorization request. ` + `When finished, please return to the CLI to continue linking your app.` ); @@ -542,7 +542,7 @@ If you are having issues linking, please get in touch with our Support[^support- async selectGithubBranches(repoId: number): Promise { this.env.log.nl(); - this.env.log.info(strong(`By default Ionic Appflow links only to the ${input('master')} branch.`)); + this.env.log.info(strong(`By default Appflow links only to the ${input('master')} branch.`)); this.env.log.info( `${strong('If you\'d like to link to another branch or multiple branches you\'ll need to select each branch to connect to.')}\n` + `If you're not familiar with on working with branches in GitHub you can read about them here:\n\n` + diff --git a/packages/@ionic/cli/src/commands/monitoring/index.ts b/packages/@ionic/cli/src/commands/monitoring/index.ts index 807dd9ea0e..42be63d462 100644 --- a/packages/@ionic/cli/src/commands/monitoring/index.ts +++ b/packages/@ionic/cli/src/commands/monitoring/index.ts @@ -12,7 +12,7 @@ export class MonitoringNamespace extends Namespace { return { name: 'monitoring', - summary: 'Commands relating to Ionic Appflow Error Monitoring', + summary: 'Commands relating to Appflow Error Monitoring', groups, }; } diff --git a/packages/@ionic/cli/src/commands/monitoring/syncmaps.ts b/packages/@ionic/cli/src/commands/monitoring/syncmaps.ts index 4efa6f675f..cbaca5caf5 100644 --- a/packages/@ionic/cli/src/commands/monitoring/syncmaps.ts +++ b/packages/@ionic/cli/src/commands/monitoring/syncmaps.ts @@ -18,7 +18,7 @@ export class MonitoringSyncSourcemapsCommand extends Command { return { name: 'syncmaps', type: 'project', - summary: 'Build & upload sourcemaps to Ionic Appflow Monitoring service', + summary: 'Build & upload sourcemaps to Appflow Monitoring service', description: ` By default, ${input('ionic monitoring syncmaps')} will upload the sourcemap files within ${strong(SOURCEMAP_DIRECTORY)}. To optionally perform a production build before uploading sourcemaps, specify the ${input('--build')} flag. `, diff --git a/packages/@ionic/cli/src/commands/package/build.ts b/packages/@ionic/cli/src/commands/package/build.ts index 6b6be59f48..0a28c8c0c4 100644 --- a/packages/@ionic/cli/src/commands/package/build.ts +++ b/packages/@ionic/cli/src/commands/package/build.ts @@ -71,7 +71,7 @@ export class BuildCommand extends Command { groups: [MetadataGroup.PAID], summary: 'Create a package build on Appflow', description: ` -This command creates a package build on Ionic Appflow. While the build is running, it prints the remote build log to the terminal. If the build is successful, it downloads the created app package file in the current directory. +This command creates a package build on Appflow. While the build is running, it prints the remote build log to the terminal. If the build is successful, it downloads the created app package file in the current directory. Apart from ${input('--commit')}, every option can be specified using the full name setup within the Dashboard[^dashboard]. diff --git a/packages/@ionic/cli/src/commands/package/deploy.ts b/packages/@ionic/cli/src/commands/package/deploy.ts index ddef5b2d48..ae2f6ca73e 100644 --- a/packages/@ionic/cli/src/commands/package/deploy.ts +++ b/packages/@ionic/cli/src/commands/package/deploy.ts @@ -52,7 +52,7 @@ export class DeployCommand extends Command { groups: [MetadataGroup.PAID], summary: 'Deploys a binary to a destination, such as an app store using Appflow', description: ` -This command deploys a binary to a destination using Ionic Appflow. While running, the remote log is printed to the terminal. +This command deploys a binary to a destination using Appflow. While running, the remote log is printed to the terminal. The command takes two parameters: the numeric ID of the package build that previously created the binary and the name of the destination where the binary is going to be deployed. Both can be retrieved from the Dashboard[^dashboard]. diff --git a/packages/@ionic/cli/src/commands/package/index.ts b/packages/@ionic/cli/src/commands/package/index.ts index 9e756229d7..8e31575a83 100644 --- a/packages/@ionic/cli/src/commands/package/index.ts +++ b/packages/@ionic/cli/src/commands/package/index.ts @@ -9,7 +9,7 @@ export class PackageNamespace extends Namespace { name: 'package', summary: 'Appflow package functionality', description: ` -Interface to execute commands about package builds and deployments on Ionic Appflow. +Interface to execute commands about package builds and deployments on Appflow. Appflow package documentation: - Overview: ${strong('https://ion.link/appflow-package-docs')} diff --git a/packages/@ionic/cli/src/commands/start.ts b/packages/@ionic/cli/src/commands/start.ts index 1944cda42c..e03e55b5f3 100644 --- a/packages/@ionic/cli/src/commands/start.ts +++ b/packages/@ionic/cli/src/commands/start.ts @@ -767,7 +767,7 @@ Use the ${input('--type')} option to start projects using older versions of Ioni ]; if (linkConfirmed) { - steps.push(`Push your code to Ionic Appflow to perform real-time updates, and more: ${input('git push ionic master')}`); + steps.push(`Push your code to Appflow to perform real-time updates, and more: ${input('git push ionic master')}`); } this.env.log.msg(`${strong('Your Ionic app is ready! Follow these next steps')}:\n${steps.map(s => ` - ${s}`).join('\n')}`); diff --git a/packages/@ionic/cli/src/lib/index.ts b/packages/@ionic/cli/src/lib/index.ts index adca575734..e5f595ebae 100644 --- a/packages/@ionic/cli/src/lib/index.ts +++ b/packages/@ionic/cli/src/lib/index.ts @@ -127,7 +127,7 @@ export async function generateIonicEnvironment(ctx: IonicContext, pargv: string[ if (project.config.get('pro_id' as any) && argv._[1] !== 'unset') { log.warn( `The ${input('pro_id')} field in ${strong(prettyPath(project.filePath))} has been deprecated.\n` + - `Ionic Pro has been renamed to Ionic Appflow! We've copied the value in ${input('pro_id')} to ${input('id')}, but you may want to unset the deprecated property: ${input('ionic config unset pro_id')}\n` + `Ionic Pro has been renamed to Appflow! We've copied the value in ${input('pro_id')} to ${input('id')}, but you may want to unset the deprecated property: ${input('ionic config unset pro_id')}\n` ); } } diff --git a/packages/@ionic/cli/src/lib/start.ts b/packages/@ionic/cli/src/lib/start.ts index a6b4c18c6d..c11ec82cfa 100644 --- a/packages/@ionic/cli/src/lib/start.ts +++ b/packages/@ionic/cli/src/lib/start.ts @@ -125,7 +125,7 @@ function getAppflowAdvertisement(): string { return ` ────────────────────────────────────────────────────────────── - ${title('Ionic Appflow')}, the mobile DevOps solution by Ionic + ${title('Appflow')}, the mobile DevOps solution by Ionic Continuously build, deploy, and ship apps ${emoji('🚀', '')} Focus on building apps while we automate the rest ${emoji('🎁', '')} From 35acd3045350dad4d69dcaeb4b1cb4c53576326d Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 24 Mar 2021 11:23:08 -0500 Subject: [PATCH 3/5] Generate is angular specific --- packages/@ionic/cli/src/commands/generate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ionic/cli/src/commands/generate.ts b/packages/@ionic/cli/src/commands/generate.ts index e2eb0622b1..884b84d8ad 100644 --- a/packages/@ionic/cli/src/commands/generate.ts +++ b/packages/@ionic/cli/src/commands/generate.ts @@ -35,7 +35,7 @@ export class GenerateCommand extends Command implements CommandPreRun { return { name: 'generate', type: 'project', - summary: 'Create Pages, Components, & Framework Features', + summary: 'Create Pages, Components, & Angular Features', description, footnotes, inputs, From e6348ab580ee0b482a80f828269d251b2d13987a Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 24 Mar 2021 11:25:51 -0500 Subject: [PATCH 4/5] cordova build is for android and ios only --- packages/@ionic/cli/src/commands/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ionic/cli/src/commands/build.ts b/packages/@ionic/cli/src/commands/build.ts index fc2629974e..f507d6c1aa 100644 --- a/packages/@ionic/cli/src/commands/build.ts +++ b/packages/@ionic/cli/src/commands/build.ts @@ -30,7 +30,7 @@ export class BuildCommand extends Command implements CommandPreRun { return { name: 'build', type: 'project', - summary: 'Build for Android, iOS, and other Platform Targets', + summary: 'Build for Android and iOS Platform Targets', description, footnotes, groups, From 0a20a9a393a1331b59b4e6d9931df1f664de50d5 Mon Sep 17 00:00:00 2001 From: perry Date: Wed, 24 Mar 2021 11:43:55 -0500 Subject: [PATCH 5/5] description updates from SEO consultant --- packages/@ionic/cli/src/commands/build.ts | 2 +- packages/@ionic/cli/src/commands/cordova/build.ts | 4 ++-- packages/@ionic/cli/src/lib/project/angular/generate.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@ionic/cli/src/commands/build.ts b/packages/@ionic/cli/src/commands/build.ts index f507d6c1aa..33593cc65b 100644 --- a/packages/@ionic/cli/src/commands/build.ts +++ b/packages/@ionic/cli/src/commands/build.ts @@ -30,7 +30,7 @@ export class BuildCommand extends Command implements CommandPreRun { return { name: 'build', type: 'project', - summary: 'Build for Android and iOS Platform Targets', + summary: 'Build web assets and prepare your app for any platform targets', description, footnotes, groups, diff --git a/packages/@ionic/cli/src/commands/cordova/build.ts b/packages/@ionic/cli/src/commands/cordova/build.ts index 30f2b96379..b133465eac 100644 --- a/packages/@ionic/cli/src/commands/cordova/build.ts +++ b/packages/@ionic/cli/src/commands/cordova/build.ts @@ -43,9 +43,9 @@ export class BuildCommand extends CordovaCommand implements CommandPreRun { return { name: 'build', type: 'project', - summary: 'Build (prepare + compile) an Ionic project for a given platform', + summary: 'Use Cordova to build for Android and iOS platform targets', description: ` -Like running ${input('cordova build')} directly, but also builds web assets with configuration from ${input('ionic build')} and provides friendly checks. +Like running ${input('cordova build')} directly, ${input('ionic cordova build')} also builds web assets from ${input('ionic build')} and provides friendly checks for Android and iOS platforms. To pass additional options to the Cordova CLI, use the ${input('--')} separator after the Ionic CLI arguments. diff --git a/packages/@ionic/cli/src/lib/project/angular/generate.ts b/packages/@ionic/cli/src/lib/project/angular/generate.ts index a391d4ac0e..0dbfb8f839 100644 --- a/packages/@ionic/cli/src/lib/project/angular/generate.ts +++ b/packages/@ionic/cli/src/lib/project/angular/generate.ts @@ -39,7 +39,7 @@ export class AngularGenerateRunner extends GenerateRunner> { return { description: ` -This command uses the Angular CLI to generate features such as ${['pages', 'components', 'directives', 'services'].map(c => input(c)).join(', ')}, etc. +Automatically create framework features with Ionic Generate. This command uses the Angular CLI to generate ${['pages', 'components', 'directives', 'services'].map(c => input(c)).join(', ')}, and more. - For a full list of available types, use ${input('npx ng g --help')} - For a list of options for a types, use ${input('npx ng g --help')}