Expand description
stout-cask: Cask installation and management for stout
This crate handles:
- Cask artifact downloading (DMG, PKG, ZIP)
- macOS app installation (mount DMG, copy .app)
- PKG installer execution
- Quarantine attribute removal
- Cask state tracking
- Linux app support (AppImage, Flatpak)
Structs§
- Cask
Install Options - Options for cask installation
- Installed
Cask - Information about an installed cask
- Installed
Casks - Collection of installed casks
Enums§
- Artifact
Type - Artifact type detected from URL
- Error
Functions§
- detect_
artifact_ type - Detect the artifact type from a URL or path.
- detect_
artifact_ type_ from_ cask - Detect artifact type from cask metadata (preferred) or URL fallback
- detect_
artifact_ type_ from_ magic - Detect artifact type from a downloaded file’s magic bytes.
- download_
cask_ artifact - Download a cask artifact
- get_
download_ extension - Get the file extension to use when downloading based on container type
- install_
artifact_ only - Install only the artifact (no state management) - for parallel installation Returns the installed path
- install_
artifact_ sync - install_
cask - Install a cask
- now_
timestamp - Simple timestamp
- uninstall_
cask - Uninstall a cask