Convert config positional arg to --config in llama stack run

The rest of the llama-cli uses `--config` to pass in configuration files, so this change will align the behavior/design of `llama stack run` with the rest of the llama-cli

Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com>
This commit is contained in:
Courtney Pacheco 2025-03-11 08:19:23 -04:00
parent e3edca7739
commit 377233a6d6

View file

@ -30,7 +30,7 @@ class StackRun(Subcommand):
def _add_arguments(self): def _add_arguments(self):
self.parser.add_argument( self.parser.add_argument(
"config", "--config",
type=str, type=str,
help="Path to config file to use for the run", help="Path to config file to use for the run",
) )