public function templateTokens($path, $pre = '%%', $post = '%%', $opts = ['format' => 'table', 'fields' => ''])
    {
        $result = $this->taskTemplateTokens()
            ->path($path)
            ->pre($pre)
            ->post($post)
            ->run();

        if (!$result->wasSuccessful()) {
            $this->exitError("Failed to run command");
        }

        $data = $result->getData();

        if (empty($data) || !isset($data['data'])) {
            return new RowsOfFields([]);
        }

        natsort($data['data']);
        $data['data'] = array_map(function ($item) {
            return ['Token' => $item];
        }, $data['data']);
        return new RowsOfFields($data['data']);
    }