src/Charcoal/Admin/Script/User/ResetPasswordScript.php
public function defaultArguments()
    {
        $arguments = [
            'email' => [
                'prefix'        => 'e',
                'longPrefix'    => 'email',
                'description'   => 'The user email'
            ],
            'password' => [
                'prefix'        => 'p',
                'longPrefix'    => 'password',
                'description'   => 'The user password',
                'inputType'     => 'password'
            ],
            'sendEmail' => [
                'longPrefix'    => 'send-email',
                'description'   => 'If set, an email will be sent to the user.',
                'noValue'       => true,
                'defaultValue'  => false
            ]
        ];

        $arguments = array_merge(parent::defaultArguments(), $arguments);

        return $arguments;
    }
public function defaultArguments()
    {
        $arguments = [
            'email' => [
                'prefix'        => 'e',
                'longPrefix'    => 'email',
                'description'   => 'The user email'
            ],
            'password' => [
                'prefix'        => 'p',
                'longPrefix'    => 'password',
                'description'   => 'The user password',
                'inputType'     => 'password'
            ],
            'sendEmail' => [
                'longPrefix'    => 'send-email',
                'description'   => 'If set, an email will be sent to the user.',
                'noValue'       => true,
                'defaultValue'  => false
            ]
        ];

        $arguments = array_merge(parent::defaultArguments(), $arguments);

        return $arguments;
    }
public function defaultArguments ( ) { $ arguments = [ 'email' => [ 'prefix' => 'e' , 'longPrefix' => 'email' , 'description' => 'The user email' ] , 'password' => [ 'prefix' => 'p' , 'longPrefix' => 'password' , 'description' => 'The user password' , 'inputType' => 'password' ] , 'sendEmail' => [ 'longPrefix' => 'send-email' , 'description' => 'If set, an email will be sent to the user.' , 'noValue' => true , 'defaultValue' => false ] ] ; $ arguments = array_merge ( parent :: defaultArguments ( ) , $ arguments ) ; return $ arguments ; }
Retrieve the available default arguments of this action.

@link http://climate.thephpleague.com/arguments/ For descriptions of the options for CLImate.

@return array
Retrieve the available default arguments of this action .