Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58121

Use -- for long flags

XMLWordPrintable

      It would be good to use long flags like how most other CLI tools use them

      See:

      https://blog.heroku.com/cli-flags-get-started-with-oclif

      https://www.mankier.com/1/kubectl-create

      i.e. 

      -- 

      instead of

      -
      

      Usage could look something like:

      jenkins-plugin-manager --file plugins.txt --jenkins-war jenkins.war --plugin blah --plugin plugin2 --plugin-directory plugins/ 

      A couple of examples of how short flags could look:

      jenkins-plugin-manager -f new-plugins.txt 
      jenkins-plugin-manager -p slack 

            stopalopa Natasha Stopa
            timja Tim Jacomb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: