Customisation

Smos can be configured very flexibly, via flags, environment variables and configuration files.

For example, to configur a different workflow directory than the default ~/workflow, you can use the command-line flag --workflow-dir or the environment variable SMOS_WORKFLOW_DIR, or you can use a configuration file.

The default configuration files are (in the order that they are tried):

  • ~/.smos.yaml in YAML
  • ~/.smos.json in JSON

For example, to change the workflow directory, you can use:

  • This YAML config:
  • This JSON config:

Smos can also be configured more flexibly in Haskell. If you are looking to do that, please see the respective guide