Skip to content

Commit

Permalink
Updating new CLI name from ascli to spark_rapids (#673)
Browse files Browse the repository at this point in the history
Signed-off-by: mattahrens <[email protected]>
  • Loading branch information
mattahrens authored Nov 28, 2023
1 parent e612d79 commit 88d420c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion user_tools/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dynamic=["entry-points", "version"]

[project.scripts]
spark_rapids_user_tools = "spark_rapids_pytools.wrapper:main"
ascli = "spark_rapids_tools.cmdli.tools_cli:main"
spark_rapids = "spark_rapids_tools.cmdli.tools_cli:main"

[tool.setuptools]
package-dir = {"" = "src"}
Expand Down
2 changes: 1 addition & 1 deletion user_tools/src/spark_rapids_tools/utils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def to_snake_case(word: str) -> str:
def dump_tool_usage(tool_name: Optional[str], raise_sys_exit: Optional[bool] = True):
imported_module = __import__('spark_rapids_tools.cmdli', globals(), locals(), ['ToolsCLI'])
wrapper_clzz = getattr(imported_module, 'ToolsCLI')
help_name = 'ascli'
help_name = 'spark_rapids'
usage_cmd = f'{tool_name} -- --help'
try:
fire.Fire(wrapper_clzz(), name=help_name, command=usage_cmd)
Expand Down

0 comments on commit 88d420c

Please sign in to comment.