Skip to content

Commit 16cdef8

Browse files
committed
feat(cordova): add experimental --cordova-res flag
1 parent 465fafc commit 16cdef8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/ionic/src/commands/cordova/resources.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,16 @@ Cordova reference documentation:
3939
- Icons: ${chalk.bold('https://cordova.apache.org/docs/en/latest/config_ref/images.html')}
4040
- Splash Screens: ${chalk.bold('https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/')}
4141
42-
This command uses Ionic servers, so we require you to be logged into your free Ionic account. Use ${chalk.green('ionic login')} to login.
42+
This command uses Ionic servers and we require you to be logged into your free Ionic account. Use ${chalk.green('ionic login')} to login.
43+
44+
With the experimental ${chalk.green('--cordova-res')} option, ${chalk.green('ionic cordova resources')} will generate resources locally using the ${chalk.green('cordova-res')} utility[^cordova-res-repo].
4345
`,
46+
footnotes: [
47+
{
48+
id: 'cordova-res-repo',
49+
url: 'https://github.com/ionic-team/cordova-res',
50+
},
51+
],
4452
exampleCommands: ['', 'ios', 'android'],
4553
inputs: [
4654
{
@@ -71,7 +79,7 @@ This command uses Ionic servers, so we require you to be logged into your free I
7179
name: 'cordova-res',
7280
summary: `Use ${chalk.green('cordova-res')} instead of Ionic resource server`,
7381
type: Boolean,
74-
groups: [OptionGroup.Hidden],
82+
groups: [OptionGroup.Experimental],
7583
},
7684
],
7785
};

0 commit comments

Comments
 (0)