Rules of the Mission Control desktop app: its arguments, its instance and its application identifier
| Arguments | Result |
|---|---|
| [--instance NAME] [--folder PATH] | Opens the window. With a folder, the window shows the project of that folder. PATH is a complete path. |
| serve --instance NAME | Runs the server of the instance. The app starts itself with these arguments. |
pub(all) suberror ArgumentError {
UnknownArgument(String)
MissingValue(DesktopOption)
RepeatedOption(DesktopOption)
MissingInstance
WrongInstance(InstanceNameError)
WrongFolder(FolderPathError)
} derive(Eq, Debug)pub(all) suberror InstanceError {
InVariable(InstanceNameError)
InFile(path~ : FolderPath, InstanceNameError)
FileNotReadable(path~ : FolderPath, reason~ : String)
} derive(Eq, Debug)pub(all) enum DesktopCommand {
OpenWindow(instance~ : InstanceName?, folder~ : FolderPath?)
Serve(InstanceName)
} derive(Eq, Debug)fn DesktopCommand::parse(args : ArrayView[String], platform : Platform) -> DesktopCommand raise ArgumentErrorimpl ToJson for InstallPlacefn InstallPlace::InstallPlace(instance : InstanceName, base : BaseFolder, platform : Platform) -> InstallPlacefn InstallPlace::parse(args : ArrayView[String], base : BaseFolder, platform : Platform) -> InstallPlace raise ArgumentErrorfn MenuEntry::of_env(place : InstallPlace, platform : Platform, env : Map[String, String]) -> MenuEntry? raise BaseFolderErrorfn asked_instance(option : InstanceName?, env_vars : Map[String, String]) -> InstanceName? raise InstanceErrorlet installed_instance_file : StringInstall
Download zipRules of the Mission Control desktop app: its arguments, its instance and its application identifier