ClientIdCommand constructor

ClientIdCommand({
  1. bool mandatory = true,
})

Creates a ClientIdCommand instance.

The mandatory parameter determines if the --client-id option is required for the command. Defaults to true.

Implementation

ClientIdCommand({bool mandatory = true}) {
  argParser.addOption(
    ClonifyCommandOptions.clientId.name,
    aliases: ClonifyCommandOptions.clientId.aliases,
    help: 'Specify the client ID',
    mandatory: mandatory,
  );
}