<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def info_cmd():
 """Print basic information about StagYY run."""

    sdat = stagyydata.StagyyData(conf.core.path)
    lsnap = sdat.snaps.last
    lstep = sdat.steps.last
    print('StagYY run in {}'.format(sdat.path))
    if lsnap.geom.threed:
        dimension = '{} x {} x {}'.format(lsnap.geom.nxtot,
                                          lsnap.geom.nytot,
                                          lsnap.geom.nztot)
    elif lsnap.geom.twod_xz:
        dimension = '{} x {}'.format(lsnap.geom.nxtot,
                                     lsnap.geom.nztot)
    else:
        dimension = '{} x {}'.format(lsnap.geom.nytot,
                                     lsnap.geom.nztot)
    if lsnap.geom.cartesian:
        print('Cartesian', dimension)
    elif lsnap.geom.cylindrical:
        print('Cylindrical', dimension)
    else:
        print('Spherical', dimension)
    print('Last timestep:',
          '  istep: {}'.format(lstep.istep),
          '  time:  {}'.format(lstep.timeinfo['t']),
          '  <T>:   {}'.format(lstep.timeinfo['Tmean']),
          sep='\n')
    print('Last snapshot (istep {}):'.format(lsnap.istep),
          '  isnap: {}'.format(lsnap.isnap),
          '  time:  {}'.format(lsnap.timeinfo['t']),
          '  output fields: {}'.format(','.join(lsnap.fields)),
          sep='\n')