Skip to content

Commit

Permalink
[search] unhide command (#1020)
Browse files Browse the repository at this point in the history
## Summary

TSIA

## How was it tested?
  • Loading branch information
mikeland73 authored May 17, 2023
1 parent 2818b54 commit 8661579
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions internal/boxcli/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ import (

func searchCmd() *cobra.Command {
command := &cobra.Command{
Use: "search <pkg>",
Short: "Search for nix packages",
Args: cobra.ExactArgs(1),
Hidden: true,
Use: "search <pkg>",
Short: "Search for nix packages",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
ux.Fwarning(cmd.ErrOrStderr(), "Search is experimental and may not work as expected.\n\n")
return searcher.SearchAndPrint(cmd.OutOrStdout(), args[0])
Expand Down

0 comments on commit 8661579

Please sign in to comment.