Files
iris-context/commands/sys/pkg_config.go
T
VERSE 2ef3c90819 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
2026-07-04 22:08:36 +07:00

35 lines
2.2 KiB
Go

package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pkg-config",
Description: "Return metainformation about installed libraries",
Options: []core.Option{
{Name: "--mod-version", Description: "Display the version information of the libraries specified on the command line"},
{Name: "--version", Description: "Display the version of pkg-config and terminates"},
{Name: "--atleast-pkgconfig-version", Description: "Require at least the given version of pkg-config"},
{Name: "--help", Description: "Displays a help message and terminates"},
{Name: "--print-errors", Description: "Print short error messages"},
{Name: "--silence-errors", Description: "If printing errors, print them to stdout rather than the default stderr"},
{Name: "--debug", Description: "Print debugging information"},
{Name: "--cflags", Description: "Print link flags required to compile the packages on the command line"},
{Name: "--libs-only-L", Description: "Return the value of a variable defined in a package's .pc file"},
{Name: "--define-variable", Description: "Set a global value for a variable, overriding the value in any .pc files"},
{Name: "--print-variables", Description: "Return a list of all variables defined in the package"},
{Name: "--uninstalled", Description: "Test whether the packages on the command line exist"},
{Name: "--atleast-version", Description: "Check the syntax of a package's .pc file for validity"},
{Name: "--msvc-syntax", Description: "Use the installed location of the .pc file to determine the prefix"},
{Name: "--dont-define-prefix", Description: "Use the specified prefix variable value defined in the .pc file as the prefix"},
{Name: "--prefix-variable", Description: "Output libraries suitable for static linking"},
{Name: "--list-all", Description: "List all modules found in the pkg-config path"},
{Name: "--print-provides", Description: "List all modules the given packages provides"},
{Name: "--print-requires", Description: "List all modules the given packages requires"},
{Name: "--print-requires-private", Description: "List all modules the given packages requires for static linking"},
},
})
}