Skip to content

Commit

Permalink
Move sql command to config
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorman committed Apr 15, 2024
1 parent 02458d7 commit 37845e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The process will exit with exit code 0 if tilekiln can load the config.

This is intended for build and CI scripts used by configs.

#### `sql`
##### `config sql`
Print the SQL for a tile or layer.

Prints the SQL that would be issued to generate a particular tile layer,
Expand Down
2 changes: 1 addition & 1 deletion tilekiln/scripts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test(config: str) -> None:
tilekiln.load_config(config)


@cli.command()
@config.command()
@click.option('--config', required=True, type=click.Path(exists=True, dir_okay=False))
@click.option('--layer', type=click.STRING)
@click.option('--zoom', '-z', type=click.INT, required=True)
Expand Down

0 comments on commit 37845e4

Please sign in to comment.