MediaMath / lambda-cron

LambdaCron - serverless cron tool
Apache License 2.0
25 stars 4 forks source link

Feature: Allow nested setting files #14

Open javibravo opened 7 years ago

javibravo commented 7 years ago

Currently LambdaCron allows to set environment options in one file (~/.lambda-cron.yml). Could be good to be able to set environment options in different files (different projects).

Proposal:

  1. Be able to include setting files in ~/.lambda-cron.yml. For example:
my-project-a:
    settings: /path/to/my-project-a/lambda-cron.yml
my-project-b:
    settings: /path/to/my-porject-b/lambda-cron.yml
aarcro commented 6 years ago

I'd prefer a command line flag to point to a config file, and/or looking at lambda-cron.yml in the current directory or ancestor.

But agree, the single hard coded config path is not flexible enough.