datasette publish now --token=X argument

Lets you specify the auth token to use when deploying to Now.

Tokens can be created at https://zeit.co/account/tokens
This commit is contained in:
Simon Willison 2018-06-17 12:46:52 -07:00
commit 538565de3a
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
2 changed files with 9 additions and 1 deletions

View file

@ -174,6 +174,7 @@ This will create a docker image containing both the datasette application and th
--extra-options TEXT Extra options to pass to datasette serve
--force Pass --force option to now
--branch TEXT Install datasette from a GitHub branch e.g. master
--token TEXT Auth token to use for deploy (Now only)
--template-dir DIRECTORY Path to directory containing custom templates
--plugins-dir DIRECTORY Path to directory containing custom plugins
--static STATIC MOUNT mountpoint:path-to-directory for serving static