<commit_before>package main

import (
	"flag"
	"fmt"
	"github.com/rkoesters/xkcd"
	"log"
	"strconv"
)

func main() {
	var comic xkcd.Comic
	var err error

	flag.Parse()

	if flag.NArg() == 0 {
		comic, err = xkcd.GetCurrentComic()
		if err != nil {
			log.Fatal(err)
		}
	} else if flag.NArg() == 1 {
		num, err := strconv.Atoi(flag.Arg(0))
		if err != nil {
			log.Fatal(err)
		}

		comic, err = xkcd.GetComic(num)<commit_msg>Updated xkcd-info.<commit_after>package main

import (
	"flag"
	"fmt"
	"github.com/rkoesters/xkcd"
	"log"
	"strconv"
)

func main() {
	var comic xkcd.Comic
	var err error

	flag.Parse()

	if flag.NArg() == 0 {
		comic, err = xkcd.GetCurrent()
		if err != nil {
			log.Fatal(err)
		}
	} else if flag.NArg() == 1 {
		num, err := strconv.Atoi(flag.Arg(0))
		if err != nil {
			log.Fatal(err)
		}

		comic, err = xkcd.Get(num)
{'fraction_non_alphanumeric': 0.1696113074204947, 'fraction_numerical': 0.007067137809187279, 'mean_word_length': 2.97196261682243, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2802089', 'n_tokens_mistral': 422, 'n_tokens_neox': 382, 'n_words': 82}