id = "archey4" name = "Archey 4" homepage = "https://gitlab.com/HorlogeSkynet/archey4" description = "Maintained fork of the original Archey (Linux) system tool." executables = ["archey"] [dotfiles] # Archey 4's official README documents ~/.config/archey4/config.json as the # user-specific configuration file (distinct from /etc/archey4/config.json). # https://gitlab.com/HorlogeSkynet/archey4/-/blob/master/README.md paths = ["~/.config/archey4/config.json"] secret = [] [commands] format = 1 label = "Show system information" description = "Print system information next to the distribution logo. Screenshot capture is left out." quality = "ai-draft" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true } [[commands.source]] id = "help" kind = "help" url = "https://gitlab.com/HorlogeSkynet/archey4/-/raw/master/archey/__main__.py" evidence = """ parser.add_argument( "-c", "--config-path", metavar="PATH", help="path to a configuration file, or a directory containing a `config.json`", ) parser.add_argument( "-d", "--distribution", metavar="IDENTIFIER", help="supported distribution identifier to show the logo of, pass `unknown` to list them", ) parser.add_argument( "-j", "--json", action="count", help="output entries data to JSON format, use multiple times to increase indentation", ) parser.add_argument( "-l", "--logo-style", metavar="IDENTIFIER", help="alternative logo style identifier to show instead of the distribution default one." ) """ [[commands.field]] id = "config_path" label = "Configuration" description = "A configuration file, or a directory containing a config.json." type = "path" option = ["--config-path", "-c"] path = { kind = "any", role = "input" } sources = ["help"] [[commands.field]] id = "distribution" label = "Logo distribution" description = "Distribution identifier whose logo to show; pass unknown to list them." type = "string" option = ["--distribution", "-d"] sources = ["help"] [[commands.field]] id = "logo_style" label = "Logo style" description = "Alternative logo style identifier, for example retro." type = "string" option = ["--logo-style", "-l"] sources = ["help"] [[commands.field]] id = "json" label = "JSON output" description = "Output entries as JSON; repeat to increase indentation." type = "count" option = ["--json", "-j"] sources = ["help"] [[commands.task]] id = "show" label = "Show with defaults" fields = ["config_path", "distribution", "logo_style"] required = [] [[commands.task]] id = "json" label = "Output JSON" set = { json = [1] } fields = ["json", "config_path"] required = [] [[commands.group]] id = "basic" label = "Basic" fields = ["distribution", "logo_style", "json", "config_path"]