mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Pass --token to 'now alias', if provided
This commit is contained in:
parent
d95b46b09b
commit
8b8ae55e7c
1 changed files with 4 additions and 1 deletions
|
|
@ -88,4 +88,7 @@ def publish_subcommand(publish):
|
|||
else:
|
||||
call("now")
|
||||
if alias:
|
||||
call(["now", "alias"])
|
||||
alias_args = ["alias"]
|
||||
if token:
|
||||
alias_args.append("--token={}".format(token))
|
||||
call(["now"] + alias_args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue