class_docstr: Implementation for subcmd `towhee server`. Start pipelines as services.
class_docstr_tok: ["Implementation","for","subcmd","`","towhee","server","`",".","Start","pipelines","as","services","."]
code: def __init__(self, args):
      self._args = args
  
file_path: towhee/towhee/command/service.py
imports: import sys
  import importlib
  import argparse
  from pathlib import Path
  from towhee.utils.lazy_import import LazyImport
label_desc: Use image node_id 1 to create a new ServerCommand object  with example: obj = ServerCommand(args)