public function regenerate($_, $assoc_args)
    {
        $this->init_args(func_get_args());

        $this->update_salts(true);

        if (! $this->env->save()) {
            WP_CLI::error('Failed to update salts.');
        }

        WP_CLI::success('Salts regenerated.');
    }