code: def main(args: argparse.Namespace) -> None:
      """Start a nightly release preparation."""
  
      print(
          "The release script will temporarily change the version number to a nightly version. Let's go!"
      )
  
      version = next_version(args)
  
      write_version_file(VERSION_FILE_PATH, version)
      write_version_to_pyproject(PYPROJECT_FILE_PATH, version)
  
      print_done_message(version)
  
file_path: rasa/scripts/prepare_nightly_release.py
imports: import argparse
  import os
  import sys
  import toml
  from pathlib import Path
  from typing import Text
  from pep440_version_utils import Version, is_valid_version
label_desc: Use image node_id 8 for calling a global function with example usage: main(args) without return types