-
-
Notifications
You must be signed in to change notification settings - Fork 813
Closed
Description
I've been thinking about what it might look like to allow command-line arguments to be used to define any of the configuration options in
datasette.yml, as alternative and more convenient syntax.Here's what I've come up with:
datasette \ -s settings.sql_time_limit_ms 1000 \ -s plugins.datasette-auth-tokens.manage_tokens true \ -s plugins.datasette-auth-tokens.manage_tokens_database tokens \ mydatabase.db tokens.dbWhich would be equivalent to
datasette.ymlcontaining this:plugins: datasette-auth-tokens: manage_tokens: true manage_tokens_database: tokens settings: sql_time_limit_ms: 1000
More details in #2143 (comment)
Reactions are currently unavailable