Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #59, added search limit option for search #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nik875
Copy link
Contributor

@nik875 nik875 commented Aug 27, 2022

pacmc search -l
pacmc search --limit

Copy link
Owner

@jakobkmar jakobkmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! Just reformat the following two things :)

Comment on lines +57 to +58
suspend fun RequestContext.search(searchTerm: String,
repository: Repository?, limit: Int): List<CommonProjectResult> {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this on one line

Comment on lines +19 to +20
private val searchLimit by option(
"-l", "--limit", help = "Number of results to limit search to").int().default(8)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this on one line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants