<commit_before>package commands

import (
	"fmt"

	"github.com/concourse/atc"
	"github.com/concourse/fly/commands/internal/flaghelpers"
	"github.com/concourse/fly/rc"
)

type CheckResourceCommand struct {
	Resource flaghelpers.ResourceFlag `short:"r" long:"resource" required:"true" value-name:"PIPELINE/RESOURCE" description:"Name of a resource to check version for"`
	Version  *atc.Version             `short:"f" long:"from" value-name:"VERSION" description:"Version of a resource to check from"`
}

func (command *CheckResourceCommand) Execute(args []string) error {<commit_msg>better help text for --from<commit_after>package commands

import (
	"fmt"

	"github.com/concourse/atc"
	"github.com/concourse/fly/commands/internal/flaghelpers"
	"github.com/concourse/fly/rc"
)

type CheckResourceCommand struct {
	Resource flaghelpers.ResourceFlag `short:"r" long:"resource" required:"true" value-name:"PIPELINE/RESOURCE" description:"Name of a resource to check version for"`
	Version  *atc.Version             `short:"f" long:"from"                     value-name:"VERSION"           description:"Version of a resource to check from, e.g. ref:abcd or path:thing-1.2.3.tgz"`
}

func (command *CheckResourceCommand) Execute(args []string) error {
{'fraction_non_alphanumeric': 0.12610441767068273, 'fraction_numerical': 0.0024096385542168677, 'mean_word_length': 4.638009049773756, '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': '1278327', 'n_tokens_mistral': 382, 'n_tokens_neox': 382, 'n_words': 92}