Skip to content

Commit

Permalink
Add search latest env option
Browse files Browse the repository at this point in the history
  • Loading branch information
hythm7 committed Sep 30, 2023
1 parent ebbbe3f commit d2aa025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ PAKKU_LIST_REPO PAKKU_LIST_DETAILS

**Search**
<pre>
PAKKU_SEARCH_COUNT PAKKU_SEARCH_DETAILS PAKKU_SEARCH_RELAXED
PAKKU_SEARCH_LATEST PAKKU_SEARCH_DETAILS PAKKU_SEARCH_RELAXED PAKKU_SEARCH_COUNT
</pre>

**Update**
Expand Down
1 change: 1 addition & 0 deletions lib/Pakku/Core.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ my sub get-env ( ) {
%env<pakku><list><details> = %*ENV<PAKKU_LIST_DETAILS>.Bool if %*ENV<PAKKU_LIST_DETAILS>;

%env<pakku><search><count> = %*ENV<PAKKU_SEARCH_count>.Int if %*ENV<PAKKU_SEARCH_COUNT>;
%env<pakku><search><latest> = %*ENV<PAKKU_SEARCH_LATEST>.Bool if %*ENV<PAKKU_SEARCH_LATEST>;
%env<pakku><search><details> = %*ENV<PAKKU_SEARCH_DETAILS>.Bool if %*ENV<PAKKU_SEARCH_DETAILS>;
%env<pakku><search><relaxed> = %*ENV<PAKKU_SEARCH_RELAXED>.Bool if %*ENV<PAKKU_SEARCH_RELAXED>;

Expand Down

0 comments on commit d2aa025

Please sign in to comment.