code: def add_encode_param_command(subparsers):
      # Encode param
      subparser = subparsers.add_parser(
          "encode_param", help="Encode plain text to parameter format."
      )
      subparser.add_argument(
          "-i", "--indir", help="input directory", required=True
      )
      subparser.add_argument(
          "-p", "--param", help="path to parameter file", required=False
      )
      subparser.set_defaults(func=encode_param_command)
  
file_path: nnabla/python/src/nnabla/utils/cli/encode_decode_param.py
imports: from __future__ import print_function
  import os
  import urllib.parse
  import nnabla
  import numpy
  from nnabla import logger
  from nnabla.parameter import get_parameters, set_parameter, save_parameters, load_parameters
label_desc: Use image node_id 6 for calling a global function with example usage: add_encode_param_command(subparsers) without return types