ante-erp-cli 1.11.39 → 1.11.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ante-erp-cli",
3
- "version": "1.11.39",
3
+ "version": "1.11.40",
4
4
  "description": "Comprehensive CLI tool for managing ANTE ERP self-hosted installations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -766,11 +766,12 @@ export async function setDomain(options) {
766
766
 
767
767
  if (isHttps && isDomainName && needsNginx) {
768
768
  // SSL setup workflow
769
- let enableSsl = options.ssl || false;
769
+ // Note: --ssl flag maps to options.enableSsl due to Commander.js option syntax
770
+ let enableSsl = options.ssl || options.enableSsl || false;
770
771
  let sslEmail = options.email || '';
771
772
 
772
773
  // If not specified via flags, ask in interactive mode
773
- if (options.interactive !== false && !options.ssl) {
774
+ if (options.interactive !== false && !options.ssl && !options.enableSsl) {
774
775
  console.log(chalk.cyan('\nšŸ”’ SSL/HTTPS Configuration\n'));
775
776
  console.log(chalk.gray('You\'re using HTTPS URLs. Would you like to obtain SSL certificates now?\n'));
776
777
  console.log(chalk.gray('This will:'));