code: def test_read_commandline(dataframe):
      """
      Test asserts that the dataframe made
          from the read_commandline function is
          identical to the test dataframe from
          which the .csv file was created.
  
      """
      # create a temporary .csv file from test data
      temp_dir = tempfile.gettempdir()
  
      dataframe.to_csv(f"{temp_dir}/dataframe.csv", index=0)
  
      # create a new dataframe from the temporary .csv using
      #   the cat command from the bash commandline
  
      if sys.platform in ["win32"]:
          # cat is not an operable command for Windows command line
          # "type" is a similar call
          df = janitor.io.read_commandline(
              f"type {temp_dir}\\dataframe.csv"
          )
      else:
          df = janitor.io.read_commandline(
              f"cat {temp_dir}/dataframe.csv"
          )
  
      # Make assertion that new dataframe created with read_commandline
      #   is equal to the test dataframe
      assert df.equals(dataframe)
  
      # clean up after the test
      os.unlink(f"{temp_dir}/dataframe.csv")
  
file_path: pyjanitor/tests/io/test_read_commandline.py
imports: import os
  import sys
  import tempfile
  from subprocess import CalledProcessError
  import pandas
  import pytest
  import janitor.io
label_desc: Use image node_id 1 for calling a global function with example usage: test_read_commandline(dataframe) without return types