Skip to content

Commit

Permalink
Unhide fingerprint command
Browse files Browse the repository at this point in the history
  • Loading branch information
4ernovm committed Jan 16, 2024
1 parent 525f851 commit 99219da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions internal/cmd/fingerprint/fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ func NewFingerprintCmd(fingerprinter fingerprint.IFingerprint) *cobra.Command {
short := "Fingerprints files to match against the Debricked knowledge base. [beta feature]"
long := fmt.Sprintf("Fingerprint files for identification in a given path and writes it to %s. [beta feature]\nThis hashes all files and matches them against the Debricked knowledge base.", fingerprint.OutputFileNameFingerprints)
cmd := &cobra.Command{
Use: "fingerprint [path]",
Short: short,
Hidden: true,
Long: long,
Use: "fingerprint [path]",
Short: short,
Long: long,
PreRun: func(cmd *cobra.Command, _ []string) {
_ = viper.BindPFlags(cmd.Flags())
},
Expand Down

0 comments on commit 99219da

Please sign in to comment.