Skip to content

Commit 1a16949

Browse files
committed
Fix package entry-point
1 parent 239e5fb commit 1a16949

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

nrdash/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66

77
@click.group()
8-
def nrdash():
8+
def main():
99
"""Build New Relic dashboards."""
1010

1111

12-
@nrdash.command()
12+
@main.command()
1313
@click.argument("config-file", type=str, required=True)
1414
@click.option("--api-key", type=str, required=True, help="New Relic admin API key")
1515
@click.option("--account-id", type=int, required=True, help="New Relic account id")
@@ -28,7 +28,7 @@ def build(config_file, api_key, account_id):
2828
client.create_dashboard(dashboard)
2929

3030

31-
@nrdash.command()
31+
@main.command()
3232
@click.argument("config-file", type=str, required=True)
3333
def lint(config_file):
3434
"""Lint New Relic dashboard YAML configuration."""
@@ -37,4 +37,4 @@ def lint(config_file):
3737

3838

3939
if __name__ == "__main__":
40-
nrdash()
40+
main()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",
1313
url="https://github.com/gatkin/nrdashboards",
14-
version="0.2.0",
14+
version="0.2.1",
1515
author="Greg Atkin",
1616
author_email="greg.scott.atkin@gmail.com",
1717
license="MIT",

0 commit comments

Comments
 (0)