kopia lustrzana https://github.com/simonw/datasette
Better copy for 'datasette plugins --help'
rodzic
8f5c44a166
commit
8cf4b77a92
|
@ -190,7 +190,7 @@ pm.hook.publish_subcommand(publish=publish)
|
||||||
help="Path to directory containing custom plugins",
|
help="Path to directory containing custom plugins",
|
||||||
)
|
)
|
||||||
def plugins(all, plugins_dir):
|
def plugins(all, plugins_dir):
|
||||||
"""List currently available plugins"""
|
"""List currently installed plugins"""
|
||||||
app = Datasette([], plugins_dir=plugins_dir)
|
app = Datasette([], plugins_dir=plugins_dir)
|
||||||
click.echo(json.dumps(app._plugins(all=all), indent=4))
|
click.echo(json.dumps(app._plugins(all=all), indent=4))
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ datasette --help
|
||||||
inspect Generate JSON summary of provided database files
|
inspect Generate JSON summary of provided database files
|
||||||
install Install plugins and packages from PyPI into the same...
|
install Install plugins and packages from PyPI into the same...
|
||||||
package Package specified SQLite files into a new datasette Docker...
|
package Package specified SQLite files into a new datasette Docker...
|
||||||
plugins List currently available plugins
|
plugins List currently installed plugins
|
||||||
publish Publish specified SQLite database files to the internet along...
|
publish Publish specified SQLite database files to the internet along...
|
||||||
uninstall Uninstall plugins and Python packages from the Datasette...
|
uninstall Uninstall plugins and Python packages from the Datasette...
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ datasette plugins --help
|
||||||
|
|
||||||
Usage: datasette plugins [OPTIONS]
|
Usage: datasette plugins [OPTIONS]
|
||||||
|
|
||||||
List currently available plugins
|
List currently installed plugins
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--all Include built-in default plugins
|
--all Include built-in default plugins
|
||||||
|
|
Ładowanie…
Reference in New Issue