id = "laravel-vapor" name = "Laravel Vapor CLI" homepage = "https://vapor.laravel.com" description = "The CLI client for interacting with Laravel Vapor." icon = "SimpleIcons:laravel" # The binary is `vapor`, which is also the name of the Vapor (Swift web # framework) toolbox. That toolbox is a project generator and keeps no # user-level configuration, so this entry is the only one the name maps to; a # Swift user running `vapor` simply has no ~/.laravel-vapor to sync. The id # spells out the project rather than the shared binary name. executables = ["vapor"] [dotfiles] # laravel/vapor-cli, src/Config.php: # protected static function path() # { # return Helpers::home().'/.laravel-vapor/config.json'; # } # Config::load()/set() read and write that one JSON file; there is nothing else # under the directory. paths = ["~/.laravel-vapor/config.json"] exclude = [] # Not a whole-file secret: src/Commands/LoginCommand.php and # src/Commands/TeamSwitchCommand.php also store "team", the id of the Vapor # team the CLI is currently acting as, which is worth carrying. secret = [] # Read and rewritten by a short-lived CLI process. side_effect = false # src/Commands/LoginCommand.php: `Helpers::config(['token' => $token]);` where # $token is the API token returned by ConsoleVaporClient::login(), and # src/ConsoleVaporClient.php sends it as # `'Authorization' => 'Bearer '.Helpers::config('token', …)`. [[dotfiles.secret_paths]] file = "~/.laravel-vapor/config.json" match = { key_path = ["token"] }