fastlane: --help does not list options

fastlane pem --version
fastlane installation at path:
<removed>
-----------------------------
pem 2.19.1

me:~ dbuilder$ fastlane pem --help
  pem

  CLI for 'PEM' - Automatically generate and renew your push notification profiles

  Commands:
    help  Display global or [command] help documentation
    renew Renews the certificate (in case it expired) and shows the path to the generated pem file

  Global Options:
    --verbose
    -h, --help           Display help documentation
    -v, --version        Display version information

  Author:
    Felix Krause <pem@krausefx.com>

  Website:
    https://fastlane.tools

  GitHub:
    https://github.com/fastlane/PEM

When I run fastlane pem help I get the same output as above. I’m looking for definition for options like -team_id, --generate_p12 etc…

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 26 (13 by maintainers)

Most upvoted comments

NICE!!! Looks great thanks guys! Closing.

This is really great work, thank you for looking into improving this. I would be happy to support using this as is 👍

However, if you’re up for it, I have two suggestions:

  1. It would be great if Commander indicated which command was the default command in the part of the output where it lists them. Something like this, maybe:
Commands: (* default)
  download_all   Downloads all valid provisioning profiles
  help           Display global or [command] help documentation
  manage         Manage installed provisioning profiles on your system.
  renew        * Renews the certificate (in case it expired) and outputs the path to the generated file
  repair         Repairs all expired or invalid provisioning profiles
  resign         Resigns an existing ipa file with the given provisioning profile
  1. When we are showing the options at the top level, for the default command, it would be great if we reinforced that these options belong to that command. Maybe something like:
  Options for renew:
    --adhoc [VALUE]      Setting this flag will generate AdHoc profiles instead of App Store Profiles
(SIGH_AD_HOC)
    --development [VALUE] Renew the development certificate instead of the production one
(SIGH_DEVELOPMENT)
    ...

@KrauseFx @mfurtak Of course, we can do. I’ll be working on the suggestions.

Guys, that’s really great. It fully address the original issue ! I think it will really help users to have a better understanding of theses tools. Indeed, I think that the majority didn’t know that pem has a renew default command.

Thank you for this good job 👍

Great work @nafu, here’s the diff for everyone who wants to take a look: https://github.com/commander-rb/commander/compare/master...nafu:options-for-default-command