id = "symfony" name = "Symfony CLI" homepage = "https://symfony.com/download" description = "A developer tool to help you build, run, and manage your Symfony applications directly from your terminal." icon = "SimpleIcons:symfony" executables = ["symfony"] [dotfiles] # util/homedir.go in symfony-cli/symfony-cli: GetHomeDir() joins # os.UserConfigDir() with ConfigurationDirectory = "symfony-cli" — %APPDATA% # on Windows, ~/Library/Application Support on macOS, $XDG_CONFIG_HOME # (default ~/.config) on Linux, which is [appData] — and returns the legacy # LegacyConfigurationDirectory = ".symfony5" instead when that directory still # exists ("The configuration location for the Symfony CLI has changed in # v5.17.0"). local/proxy/config.go, Load(): proxyFile is that directory joined # with "proxy.json", holding the tld, host, port and domains of the local # proxy — https://symfony.com/doc/current/setup/symfony_cli.html names it as # "the ~/.symfony5/proxy.json file" where the TLD is changed. paths = [ "[appData]/symfony-cli/proxy.json", "~/.symfony5/proxy.json", ] # certs/ in the same directory is the local certificate authority the CLI # generates — commands/local_server_ca_install.go builds it at # filepath.Join(homeDir, "certs") and keeps default.p12 there. It is a private # key belonging to one machine's trust store and must never leave it. exclude = [ "[appData]/symfony-cli/certs/", "~/.symfony5/certs/", ] secret = [] # Every value under "domains" is an absolute directory on this machine: # local/proxy/config.go maps a domain to the project directory it was attached # to with `symfony proxy:domain:attach --dir=…`, and ToConfiguredProjects() # reads them straight back as filesystem paths. The tld, host and port the # user chose are worth carrying; the paths point at checkouts that do not # exist on the other machine. Both spellings, or the rule does not run on a # machine still holding the legacy directory. # They record which of the user's own checkouts each domain points at, so the # map is kept for rebuilding this machine and applied to no other. [[dotfiles.machine_lines]] file = [ "[appData]/symfony-cli/proxy.json", "~/.symfony5/proxy.json", ] match = { key_path = ["domains.*"] } scope = "backup"