feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
package python
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "googler",
|
||||
Description: "Google from the command-line",
|
||||
Options: []core.Option{
|
||||
{Name: "-h", Description: "Show this help message and exit"},
|
||||
{Name: "-s", Description: "Start at the Nth result"},
|
||||
{Name: "-n", Description: "Show N results"},
|
||||
{Name: "-N", Description: "Show results from news section"},
|
||||
{Name: "-V", Description: "Show results from videos section"},
|
||||
{Name: "-c", Description: "Country-specific search with top-level domain .TLD, e.g., 'in' for India"},
|
||||
{Name: "-l", Description: "Display in language"},
|
||||
{Name: "-g", Description: "Country-specific geolocation search with country code CC, e.g. 'in' for India"},
|
||||
{Name: "-x", Description: "Disable automatic spelling correction"},
|
||||
{Name: "--colorize", Description: "Whether to colorize output which enables color when stdout is a tty device"},
|
||||
{Name: "-C", Description: "Equivalent to --colorize=never"},
|
||||
{Name: "--colors", Description: "Set output colors"},
|
||||
{Name: "-j", Description: "Open the first result in web browser and exit"},
|
||||
{Name: "-t", Description: "American date format with slashes, e.g., 2/24/2020, 2/2020, 2020"},
|
||||
{Name: "--to", Description: "Ending date/month/year of date range"},
|
||||
{Name: "-w", Description: "Search a site using Google"},
|
||||
{Name: "-e", Description: "Exclude site from results"},
|
||||
{Name: "--unfilter", Description: "Do not omit similar results"},
|
||||
{Name: "-p", Description: "Tunnel traffic through an HTTP proxy"},
|
||||
{Name: "--notweak", Description: "Disable TCP optimizations and forced TLS 1.2"},
|
||||
{Name: "--json", Description: "Output in JSON format; implies --noprompt"},
|
||||
{Name: "--url-handler", Description: "Custom script or cli utility to open results"},
|
||||
{Name: "--show-browser-logs", Description: "Do not suppress browser output (stdout and stderr)"},
|
||||
{Name: "--np", Description: "Search and exit, do not prompt"},
|
||||
{Name: "-4", Description: "Only connect over IPv6"},
|
||||
{Name: "-u", Description: "Perform in-place self-upgrade"},
|
||||
{Name: "--include-git", Description: "When used with --upgrade, get latest git master"},
|
||||
{Name: "-v", Description: "Show program's version number and exit"},
|
||||
{Name: "-d", Description: "Enable debugging"},
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user