Native Engine
Running a Viash component on a native engine means that the script will be executed in your current environment. Any dependencies are assumed to have been installed by the user, so the native engine is meant for developers (who know what they’re doing) or for simple bash scripts (which have no extra dependencies).
Example:
engines:
- type: native
id
Type: String
Default: native
Name of the engine. As with all engines, you can give an engine a different name. By specifying id: foo
, you can target this engine (only) by specifying ...
in any of the Viash commands.
Examples:
id: foo
id: foo
type
Type: String
Specifies the type of the engine.