Skip to content

publish commands should use new -i option #469

@simonw

Description

@simonw

I can make this change only after releasing 0.28 - if I make the change earlier than that publish heroku etc will break because they will install the latest release of Datasette which will not understand the -i option.

This is a one-line fix: replace this:

quoted_files = " ".join(map(shlex.quote, file_names))

With this: (need to do it for other publishers too though)

quoted_files = " ".join(
    ["-i {}".format(shlex.quote(file_name)) for file_name in file_names]
)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions