Linux command
sunbeam 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch the root view
sunbeam
Run an extension
sunbeam run [extension] [command]
Install an extension
sunbeam extension install [origin]
List installed extensions
sunbeam extension list
Validate a script
sunbeam validate [manifest.json]
Open a file or URL
sunbeam open [target]
说明
sunbeam lets you define UIs composed of a succession of views from simple scripts written in any language. It is a hybrid between application launchers like Raycast and fuzzy-finders like fzf, rendering interactive lists, details, and forms from JSON emitted by your scripts. Extensions can be written in shell, Python, TypeScript, or any language that can print JSON to stdout. Sunbeam ships integrations for GitHub, Nix, Google Search, Hacker News, and Pipe Boards, and embeds cleanly inside tmux or zellij popups.
参数
- run _extension_ _command_
- Execute a command exposed by an installed extension.
- extension install _origin_
- Install an extension from a Git URL or local directory.
- extension list
- Show installed extensions.
- extension remove _alias_
- Uninstall an extension.
- validate _file_
- Check that a manifest or page conforms to the Sunbeam JSON schema.
- open _target_
- Open a URL or file with the default handler.
- --help
- Show usage for sunbeam or any subcommand.
FAQ
What is the sunbeam command used for?
sunbeam lets you define UIs composed of a succession of views from simple scripts written in any language. It is a hybrid between application launchers like Raycast and fuzzy-finders like fzf, rendering interactive lists, details, and forms from JSON emitted by your scripts. Extensions can be written in shell, Python, TypeScript, or any language that can print JSON to stdout. Sunbeam ships integrations for GitHub, Nix, Google Search, Hacker News, and Pipe Boards, and embeds cleanly inside tmux or zellij popups.
How do I run a basic sunbeam example?
Run `sunbeam` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does run _extension_ _command_ do in sunbeam?
Execute a command exposed by an installed extension.