-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
threeal/main
Version 0.2.0 Release
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: chore |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Represents the arguments and options of the program. | ||
*/ | ||
export interface Arguments { | ||
/** Website name. */ | ||
website: string; | ||
/** Keywords to search for. */ | ||
keywords: string[]; | ||
/** Maximum page to search for. */ | ||
maxPage: number; | ||
} | ||
/** | ||
* Represents the arguments and options parser of the program. | ||
*/ | ||
export declare class ArgumentsParser { | ||
#private; | ||
/** | ||
* Constructs a new instance of the arguments and options parser of the program. | ||
*/ | ||
constructor(); | ||
/** | ||
* Parses the arguments and options of the program. | ||
* @param argv - An optional array of strings representing the command-line arguments. | ||
* @returns A promise that resolves to the arguments and options. | ||
*/ | ||
parse(argv?: readonly string[]): Promise<Arguments>; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { GoogleWebsiteRank } from "./google"; | ||
/** | ||
* Formats the rank of a keyword as a string. | ||
* @param keyword - The keyword string. | ||
* @param rank - The rank of the keyword. | ||
* @returns A formatted string. The rank will be displayed as a question mark if it is undefined. | ||
*/ | ||
export declare function formatKeywordRank(keyword: string, rank?: GoogleWebsiteRank): string; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.