text: // Generated by CoffeeScript 2.5.1
  // # `nikita.fs.symlink`
  
  // Delete a name and possibly the file it refers to.
  
  // ## Source Code
  module.exports = {
    status: false,
    log: false,
    handler: function({metadata, options}, callback) {
      this.log({
        message: "Entering fs.symlink",
        level: 'DEBUG',
        module: 'nikita/lib/fs/symlink'
      });
      if (metadata.argument != null) {
        // Normalize options
        options.target = metadata.argument;
      }
      if (!options.target) {
        throw Error("Required Option: the \"target\" option is mandatory");
      }
      if (!options.source) {
        throw Error("Required Option: the \"source\" option is mandatory");
      }
      return this.system.execute({
        cmd: `ln -sf ${options.source} ${options.target}`,
        sudo: options.sudo,
        bash: options.bash,
        arch_chroot: options.arch_chroot
      }, function(err) {
        return callback(err);
      });
    }
  };
  