/usr/sbin/sharing
sharing is creating share points for smb services, refer to man to check the list of flags and their descriptions.