kikocis/llama-stack public
| 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # This source code is licensed under the terms described in the LICENSE file in |
| 5 | # the root directory of this source tree. |
| 6 | |
| 7 | |
| 8 | class Subcommand: |
| 9 | """All llama cli subcommands must inherit from this class""" |
| 10 | |
| 11 | def __init__(self, *args, **kwargs): |
| 12 | pass |
| 13 | |
| 14 | @classmethod |
| 15 | def create(cls, *args, **kwargs): |
| 16 | return cls(*args, **kwargs) |
| 17 | |
| 18 | def _add_arguments(self): |
| 19 | pass |