Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1003

If you run "appc setup" with the help flag, then "appc setup" will try to find/download the latest core first

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0, Release 5.2.2
    • Fix Version/s: Release 6.0.0
    • Component/s: Core
    • Labels:
    • Environment:

      Appc CLI NPM: 4.2.4, 4.2.5-5
      Appc CLI Core: 5.2.2, 5.3.0-43
      Arrow: 1.7.29, 1.7.31
      SDK: 5.3.0.v20160503133640
      Node: v4.4.0
      OS: El Capitan (10.11.4)

    • Severity:
      Major
    • Story Points:
      3
    • Sprint:
      2016 Sprint 14 Tooling

      Description

      Details: If you run appc setup with the help flag, then appc setup will try to find or download the latest core first before displaying the help options.

      Note: This is not a regression.

      Steps to reproduce:

      1. Run appc setup --help or appc setup -h

      Actual: The CLI will try to find or download the latest core first:

      MonkeyLord:~ wluu$ appc setup --help
      Finding latest version ...5.2.2 ✓
      Version 5.2.2 already installed.
       
        Usage: setup [options]
       
        called to setup your environment
       
        Options:
       
          -h, --help                         output usage information
          --dashboard <dashboard>            the dashboard url to use for logins
          -l, --log-level <level>            change log level
          -o, --output <format>              format output [only "json" is supported]
          -v, --version                      output the version of the cli [if -o "json", the version of npm will also be output]
          -q, --quiet                        reduce the amount of text output to the console
          --no-banner                        disable banner
          --no-colors                        disable colors
          --no-services                      disable services
          --no-progress, --no-progress-bars  disable progress bars
          --no-prompt                        disable prompt
          --prompt-port <promptPort>         port to use socket-based prompting
          --prompt-type <promptType>         prompt type ["cli","socket","socket-bundle"], defaults to "cli"
          --username <username>              username for login
          --password <password>              password for login
          -e, --env <environment>            environment such as production, preproduction, development, etc
          -o, --org-id <orgId>               organization id for logins
          -P, --plugin-paths <pluginPaths>   comma-separated search paths for plugins
          -r, --registry <registry>          the registry server url to use
          -s, --server <server>              the security server url to use for logins
          -v, --vpc-env <vpcEnv>             vpc environment for logins
       
       
        error: unknown option `--help'
       
      MonkeyLord:~ wluu$ 
      

      Expected: The CLI should not find or download the latest core when running appc setup with the help flag.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                wluu Wilson Luu (Inactive)
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code