Tuist up: better error messages?

Output if my first “tuist up” command:

Configuring Carthage update
The '/usr/local/bin/carthage' command exited with error code 1 and message:
Please update to the latest Carthage version: 0.35.0. You currently are on 0.33.0

Isn’t it expected that the “up” command would upgrade my Carthage? If not, this should probably produce a better error message.

My Setup.swift:

import ProjectDescription

let setup = Setup([
    .homebrew(packages: ["swiftlint", "carthage"]),
    .carthage(platforms: [.iOS])
])

So, after updating carthage, I ran “tuist up” again. This time:

Configuring Carthage update
The '/usr/local/bin/carthage' command exited with error code 1 and message:

This seems to suggest the “up” command must be ran in a project directory. So suggestion is to check for this file inside tuist and provide a clean message when missing.

Next I ran it in a project directory, and found out the Setup.swift file (which I had at the top-level) needs to be in the project directory. That makes some sense, but if it is missing searching upwards to find one also makes sense. This is a suggestion for an enhancement (I will post separately).

This then brings up the fact the the naming of Setup.swift is just as generic a Project.swift and is subject to some potential issues I already brought up in a separate post on Project.swift